Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2466467pxj; Sat, 19 Jun 2021 13:14:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjytdAA1PCRaqcnaE2bIoYVnsKXbLon0nUS2ogvtiirTTxYiJit0gUAvFHYPLDiAFXxAYe X-Received: by 2002:a05:6638:24cb:: with SMTP id y11mr9557412jat.122.1624133687296; Sat, 19 Jun 2021 13:14:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624133687; cv=none; d=google.com; s=arc-20160816; b=dR1CL60URr9C9Ub8q6ZwkphymFrf75TdiDdII2qbukQ0swHKtd48I9vytZxR3NpWbo qCV81bmOcBX9RL2QVMvOAf7kw18D6IhpQERMce4n3Blocu/V9h9pZ731aI+wRRPRdHIo OFsP3Rj0y710fuz0zhbcqbTo0mTG9yOC4NSwRd2N//QogdjRUoKZp8/S1cjDvRclY6tT M40K2dkYQik64bFstljTR5cTBHlM/JfU39NtUXGomQIUmchALXX6ixnautDHLMg3+JCN p0YVwLsHyH7wUV3MydTeYR+9DeVXeDfGXdBzdPkvk9o8Pc/DYN9kUHEVnCpGtz6hQKV5 cU0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4BqdgBHlkY5WITeFSr4aT0Yb2yF3TJEhWLYU++k4kDc=; b=SmA1AgRsKjBVSR/N6OSgUByGRqdCzo8kzV6e4MxAjZ0XTIoV4jdL0mtOk4tjv30H3i rQoGqKYsv9JjpeDSZohhkZiBZWbST/NVDPtauhGKZRCOE9pFudr+fYJBAlaX6Rzo2qSq +8ROcguj3cec1y3ararO8W7LH8+8BBNCIVeoZNrk0vBoCUuINGx4zSzOmGY/yNwTdIa5 dZDTla0Jvi0TeBnZ/kiqmjWHAWIsnXZkccspuCj5b1MznIsAMfre9RlWXd/mZ+kWTN+j qMJoQ/+kkAMaCiOcK3PiiRrSDDRaTnLNWF6Tbc4GXcINwGoCuU0+jAftmV/3mPW2ikHG c+0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OyJR0Nfb; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v6si7440087ilu.109.2021.06.19.13.14.34; Sat, 19 Jun 2021 13:14:47 -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=@gmail.com header.s=20161025 header.b=OyJR0Nfb; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233859AbhFSGmY (ORCPT + 99 others); Sat, 19 Jun 2021 02:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231637AbhFSGmX (ORCPT ); Sat, 19 Jun 2021 02:42:23 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43438C061574; Fri, 18 Jun 2021 23:40:13 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id e33so9700865pgm.3; Fri, 18 Jun 2021 23:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4BqdgBHlkY5WITeFSr4aT0Yb2yF3TJEhWLYU++k4kDc=; b=OyJR0Nfb8+QGn3KzeftqpXXNYZ0z6y3vw7+jeGicalCGyi3T9Q8LWumQqgoCXEPvMw 6XAifQxgt9eFldC7SIU4rY10qlaiVWmXAW3Xr8YzP6ilEfvKPXWeaDTYDyExHtcp92QS MtZC6OYe4leOWMObtezIaKH7diNPzu5Y/1PVVKcbWbOe5KB+yyPCbNIp7/EOn+mxwlAq HSV2nCvbDPH+MKISoDlABO4wraYUqQVkVW2ulFqAEWSpxeHxACOCnspvNE46/FcU2Sj1 bMQ/2i3fDJ1R57h6lwEskSF0F0jmVKXeSNk00LzJJ4+KccUuL3uFt5fK2lAxLN4K2D0+ kozQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4BqdgBHlkY5WITeFSr4aT0Yb2yF3TJEhWLYU++k4kDc=; b=YeVsckhk87/wHdi9+ZF7rNLS/q3nRbp9H17y3rLlYPlXL/u9ELdPzIkH+mxMYxLJX7 pf+YiDIM4qncwzOdq+QOA/m6rjGC2wzA/DiFVbvpoUW3vcQ9JiEreuvA3TfG24qwVAUk iZgPRpluCtqA77Bqn0T/g9N1EtBd66fQwCz2BXq++p6GEj/TkM9txCiozT0pkLEc6bcv CDpEKBBVT6q/F3FwAUdJfApZIWJzK9jT5cmhkdrXLXyzxJN4gSdKEFhbZymUKGjUSMga BZKdSMrFq5MUnQnRkNokXJdix8XXED3KAOwx/Tqo/t8BuWupXYgOEGQh4V7Z9ngWo/ia 72nA== X-Gm-Message-State: AOAM531rBEXKAxxvH9gRDE9HPpAunr0nHdgLj6FeGv9X26TEel8pp7So Q1jcGztV2YWST0lbN0PGLX8= X-Received: by 2002:a62:1942:0:b029:2e9:debd:d8b1 with SMTP id 63-20020a6219420000b02902e9debdd8b1mr8852127pfz.9.1624084807935; Fri, 18 Jun 2021 23:40:07 -0700 (PDT) Received: from localhost.localdomain (199.19.111.227.16clouds.com. [199.19.111.227]) by smtp.gmail.com with ESMTPSA id r19sm9440274pfh.152.2021.06.18.23.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Jun 2021 23:40:07 -0700 (PDT) From: Artem Lapkin X-Google-Original-From: Artem Lapkin To: narmstrong@baylibre.com Cc: yue.wang@Amlogic.com, khilman@baylibre.com, lorenzo.pieralisi@arm.com, robh@kernel.org, kw@linux.com, jbrunet@baylibre.com, christianshewitt@gmail.com, martin.blumenstingl@googlemail.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, art@khadas.com, nick@khadas.com, gouwa@khadas.com Subject: [PATCH 0/4] PCI: replace dublicated MRRS limit quirks Date: Sat, 19 Jun 2021 14:39:48 +0800 Message-Id: <20210619063952.2008746-1-art@khadas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace dublicated MRRS limit quirks by mrrs_limit_quirk from core * drivers/pci/controller/dwc/pci-keystone.c * drivers/pci/controller/pci-loongson.c Both ks_pcie_quirk loongson_mrrs_quirk was rewritten without any functionality changes by one mrrs_limit_quirk Added DesignWare PCI controller which need same quirk for * drivers/pci/controller/dwc/pci-meson.c (PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3) This quirk can solve some issue for Khadas VIM3/VIM3L(Amlogic) with HDMI scrambled picture and nvme devices at intensive writing... come from: * https://lore.kernel.org/linux-pci/20210618063821.1383357-1-art@khadas.com/ Artem Lapkin (4): PCI: move Keystone and Loongson device IDs to pci_ids PCI: core: quirks: add mrrs_limit_quirk PCI: keystone move mrrs quirk to core PCI: loongson move mrrs quirk to core -- 2.25.1