Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4075445ybv; Mon, 10 Feb 2020 11:49:14 -0800 (PST) X-Google-Smtp-Source: APXvYqxU1ws1AJm5dLGNlGsGxMSdRL8cDEgLYjd3ClZOgl8W0hMCXtSTqwM/7pmDqC+fPReFfxeZ X-Received: by 2002:aca:be56:: with SMTP id o83mr467186oif.25.1581364154727; Mon, 10 Feb 2020 11:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581364154; cv=none; d=google.com; s=arc-20160816; b=FgE1Ds13zjNWweLtS9N/33kINH3/puMAazvcMn1iOqawx03O/902MQ4z4baCkrNzm8 YLf8zurRRrjVTc2nxs7Rp57ql3v0Jmw8Su6UbXeRM6c2vUOuIAqlhzQfz/iao3UwsLaz l7b2KKgpf1S2MbgtfTKaiDLTgCU8xEwOUj8zLVQSA896BLMRk0DiAhbuMG8N2isxLVRR n4mbj0YMo9swbv+7wHALx9D25BaIZZAt8fQPGjHlvAuND3m1lnXYOWuH6gIKfHMFTvk3 IIAVx1hbVv3s6VnDmapgUEQ4eF5C3F7oq5Cdr2zh11wK13sMofA5WNNe3R7QNtEuwDUV XWOQ== 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; bh=cRFAgHTjcpru4Yh3cmh88ozwK6oz4DRfN4/AXw7tuCc=; b=juBFmT3PiqWO8cZY4G8Fu+PtBamHojseXqHvamQ/IndIsj0I4t+2fLQwhelkeWBB+C iu+HgxeigI3NqgYVkMRojGNuMD8oIVP6h/oznp7pUV5+S4yvotsmTj83e0YkD5KCWa3I Tvb1YuGpfk3crVroaD0O5todoH8PI13x4APmsydH65lHFal0q0UADbAtp1/8W6wmlD4L 4U6F1W7zy4uOJ2wsjPJAFyL12i3AebdD+eW2/3c1UnoIJ6MrvlJPUTKzHQZXg5RMfR11 oKg8DzxSGSsZsmUESDCmqlfoFngIKohwbSW+Hrbs6fmjirQmPysABloEoCv634Kdpggq IWKQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e25si725190otk.62.2020.02.10.11.49.01; Mon, 10 Feb 2020 11:49:14 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbgBJTs2 (ORCPT + 99 others); Mon, 10 Feb 2020 14:48:28 -0500 Received: from mail-oi1-f172.google.com ([209.85.167.172]:42560 "EHLO mail-oi1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727003AbgBJTs2 (ORCPT ); Mon, 10 Feb 2020 14:48:28 -0500 Received: by mail-oi1-f172.google.com with SMTP id j132so10370966oih.9; Mon, 10 Feb 2020 11:48:27 -0800 (PST) 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=cRFAgHTjcpru4Yh3cmh88ozwK6oz4DRfN4/AXw7tuCc=; b=FkBgNkfb1vKrksM2KmB5EvzuRqrsTVNhhZGV3hwVDFUWFX4jzETCFSU/FNdsWZoh/H DU6ENvSS9Z0psONgo8Puc1w2LTVG/T52tHsRUpuMkKxGVoDrG9hyNDwxbDPwoMRZBywG y22WwKOLb9xw4/SOotLBd13wSvA5VcgNichBIjfY85suSWEh8mU7y8zeHcehq5pkV66d mUPqOxzMPnNBp1vzLIIFnHmbNHuhTP7JsVFV9SgsFQjvg49AGmGDp75VyFOoAr+73JyW 9SL7wHaoYI194HFUpG2oNSYsjE4nM/xTMiuVLSMfg8fDRofcLeO3Q3iNX21juZydemnk MI9g== X-Gm-Message-State: APjAAAX/HIP/EOZtZLEEdcyNxh8ZHK012WL3swWpbO22nrTsu4LQTzqI i1IPKuhLAKlYojVYlAZWAot819kFVqc= X-Received: by 2002:a05:6808:611:: with SMTP id y17mr444497oih.146.1581364106617; Mon, 10 Feb 2020 11:48:26 -0800 (PST) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com. [209.85.210.53]) by smtp.gmail.com with ESMTPSA id q6sm373450otn.73.2020.02.10.11.48.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Feb 2020 11:48:26 -0800 (PST) Received: by mail-ot1-f53.google.com with SMTP id b18so7656822otp.0; Mon, 10 Feb 2020 11:48:25 -0800 (PST) X-Received: by 2002:a05:6830:1184:: with SMTP id u4mr2168328otq.221.1581364105459; Mon, 10 Feb 2020 11:48:25 -0800 (PST) MIME-Version: 1.0 References: <20191120034451.30102-1-Zhiqiang.Hou@nxp.com> <20200110153347.GA29372@e121166-lin.cambridge.arm.com> <20200210152257.GD25745@shell.armlinux.org.uk> In-Reply-To: From: Li Yang Date: Mon, 10 Feb 2020 13:48:14 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv9 00/12] PCI: Recode Mobiveil driver and add PCIe Gen4 driver for NXP Layerscape SoCs To: Olof Johansson , Laurentiu Tudor Cc: Russell King - ARM Linux admin , "Z.q. Hou" , "bhelgaas@google.com" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , Lorenzo Pieralisi , "m.karthikeyan@mobiveil.co.in" , "arnd@arndb.de" , "linux-pci@vger.kernel.org" , "l.subrahmanya@mobiveil.co.in" , "will.deacon@arm.com" , "linux-kernel@vger.kernel.org" , "M.h. Lian" , "robh+dt@kernel.org" , Mingkai Hu , "catalin.marinas@arm.com" , Xiaowei Bao , "andrew.murray@arm.com" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" 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 Mon, Feb 10, 2020 at 12:41 PM Li Yang wrote: > > On Mon, Feb 10, 2020 at 9:32 AM Olof Johansson wrote: > > > > On Mon, Feb 10, 2020 at 4:23 PM Russell King - ARM Linux admin > > wrote: > > > > > > On Mon, Feb 10, 2020 at 04:12:30PM +0100, Olof Johansson wrote: > > > > On Thu, Feb 6, 2020 at 11:57 AM Z.q. Hou wrote: > > > > > > > > > > Hi Olof, > > > > > > > > > > Thanks a lot for your comments! > > > > > And sorry for my delay respond! > > > > > > > > Actually, they apply with only minor conflicts on top of current -next. > > > > > > > > Bjorn, any chance we can get you to pick these up pretty soon? They > > > > enable full use of a promising ARM developer system, the SolidRun > > > > HoneyComb, and would be quite valuable for me and others to be able to > > > > use with mainline or -next without any additional patches applied -- > > > > which this patchset achieves. > > > > > > > > I know there are pending revisions based on feedback. I'll leave it up > > > > to you and others to determine if that can be done with incremental > > > > patches on top, or if it should be fixed before the initial patchset > > > > is applied. But all in all, it's holding up adaption by me and surely > > > > others of a very interesting platform -- I'm looking to replace my > > > > aging MacchiatoBin with one of these and would need PCIe/NVMe to work > > > > before I do. > > > > > > If you're going to be using NVMe, make sure you use a power-fail safe > > > version; I've already had one instance where ext4 failed to mount > > > because of a corrupted journal using an XPG SX8200 after the Honeycomb > > > Serror'd, and then I powered it down after a few hours before later > > > booting it back up. > > > > > > EXT4-fs (nvme0n1p2): INFO: recovery required on readonly filesystem > > > EXT4-fs (nvme0n1p2): write access will be enabled during recovery > > > JBD2: journal transaction 80849 on nvme0n1p2-8 is corrupt. > > > EXT4-fs (nvme0n1p2): error loading journal > > > > Hmm, using btrfs on mine, not sure if the exposure is similar or not. > > > > Do you know if the SErr was due to a known issue and/or if it's > > something that's fixed in production silicon? > > > > (I still can't enable SMMU since across a warm reboot it fails > > *completely*, with nothing coming up and working. NXP folks, you > > listening? :) > > This is a known issue about DPAA2 MC bus not working well with SMMU > based IO mapping. Adding Laurentiu to the chain who has been looking > into this issue. Forgot to mention that you can workaround the issue by setting CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT=n or adding "arm-smmu.disable_bypass=0" to boot parameters. Regards, Leo