Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp696947pxb; Fri, 13 Aug 2021 04:26:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXIuWvzEnzV8Ge31ruzBTHzBPo9ukdATnNmRur4D2Sci4+x7l+xG0pyzmwipYeHfUT6K0/ X-Received: by 2002:a50:9fe8:: with SMTP id c95mr2471886edf.177.1628854010222; Fri, 13 Aug 2021 04:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628854010; cv=none; d=google.com; s=arc-20160816; b=LXRyZ1185AhgPTZKYZvuwOX4HnpCMq4VAupvC89ngBHhgaQjm/dXWvj9BGjJqXnEQ/ qtEAn8ZyM/q+uxXclodQVwarBJFboJ2kOT0AVnFuJPUwQJ/sxOSLQtoEpP+CWdH7sUdO dY36XD2qYLjWNoKFAIMAfimVllrQQakqtKmYEPkxU/7TvPhq6w927T0HSuyXMLUiZK1e pRyAPpwN2TredYlibm4uTCYpJ3Z/vZxVN6Sp66gOzIfUT3EToEG330I200RnhzmWCoPx Wavecf2UjYnOij2Td3Deavh/34PLG2BJWl5YDHALgW70Ey+SkwJw+9BFVt4uD+K0lZbV dtPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Fvmh77W4uhKVvn/qcwC9APViTa+q9zOugfg6212r9Pg=; b=ce0EQln0vzI9bOvfocTU7XOyZVhJq79reoAyh6E7+IbcvPupkt39krbbLI75uSPYUo gjnveAIYSqTRWyk6N2r/q8RkEJ2dHNSNTdND7bEDFV0AZcONRwgDdX6f0Xf+vyXGJ0m5 Tpp+S0sASZ0fZVi4tSaVYBxq/dzfql3mzVVXkOH0poZ3kAnrOSO/4Jr3EX6fUWglRhaH Gv8zgw51uIXXSA7qcjzgTqpcvQsYumRo8aU0BEMTS7fS7bgPRndnOAcQkSI/2euGqaH9 vNkfq8uciEKMpRAV1YYVysg7hxUx1dZf1VRXctI0P4Z6Cfhf16NbojZv93rPZflqpnqW eSOA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si1387056ejm.413.2021.08.13.04.26.25; Fri, 13 Aug 2021 04:26:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239975AbhHMKNl (ORCPT + 99 others); Fri, 13 Aug 2021 06:13:41 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:40515 "EHLO mail-lf1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239586AbhHMKNi (ORCPT ); Fri, 13 Aug 2021 06:13:38 -0400 Received: by mail-lf1-f42.google.com with SMTP id w20so18983121lfu.7; Fri, 13 Aug 2021 03:13:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Fvmh77W4uhKVvn/qcwC9APViTa+q9zOugfg6212r9Pg=; b=BH8fhZkuCbbpRxho2hkp+DkYgszCbpToH+9zleDKwtr1+6C+fIWdECxDAbt5pVRt9x 6tD8IoIt4pKbOryHNhNqXN0ay5PMVMJKsD3sg0Rh2vZUoNlmmuM6MzbT/m0le9EBQD7H F14XYNLgCObgfvol9mKmiEe5f3I7BWOWTqsPzRaO8wBu169I0Q1ZX0ZwO7woLKR4E2tf y52q1KwjToJHimvpyJBCT4xidAGVJQpAsAn5IJw/G8lEKaBFy3LSnd5uIblAkDe2mioq sIgn0QolvIJjZAaVofO4M4tFPcEC2qX5e5eRmKbMK8Hl/uVF8TRHSBXivYFn892DFeDb te5w== X-Gm-Message-State: AOAM531N+IKdAEymwgqjg0ivQBq6vKhVh/EZJDjgSBmkrzlaum6olv2Y M+dGehQv/fs/4mTgCC3W+tmUAH6yFw5VptJdpyE= X-Received: by 2002:a05:6512:2296:: with SMTP id f22mr1136302lfu.248.1628849590561; Fri, 13 Aug 2021 03:13:10 -0700 (PDT) Received: from rocinante ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id u24sm111115lfc.162.2021.08.13.03.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 03:13:09 -0700 (PDT) Date: Fri, 13 Aug 2021 12:13:05 +0200 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Krzysztof =?utf-8?Q?Ha=C5=82asa?= Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, Artem Lapkin , Neil Armstrong , Huacai Chen , Rob Herring , Lorenzo Pieralisi , Richard Zhu , Lucas Stach , linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCIe: limit Max Read Request Size on i.MX to 512 bytes Message-ID: <20210813101305.GA598827@rocinante> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, [...] > This patch makes the RTL8111 work on i.MX6. Would it be possible to implement this particular MRRS fix as a quirk only for the i.MX6 controller? Unless this is something that we need in the core, a quirk would be preferred over something that changes the PCI core. An example of such quirk might be the one currently implemented for the Loongson controller, as per: https://elixir.bootlin.com/linux/v5.14-rc5/source/drivers/pci/controller/pci-loongson.c#L63 Krzysztof