Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp1015018pxb; Fri, 13 Aug 2021 11:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5t9+ZxodU3eoXsB89HMAsCXmIMhaZ3GrkRxB2d26FbZceH3V+VVWTcQqtyqaX5py8ZuFp X-Received: by 2002:a05:6e02:1be3:: with SMTP id y3mr2705095ilv.62.1628878868756; Fri, 13 Aug 2021 11:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628878868; cv=none; d=google.com; s=arc-20160816; b=H2BXU4VSscT1RkvCslEELtsmZceJg9uIDP69ijiHJLEoV/M+hrxse2osMI100uuW3n 2Uc/F9jz1qNY/mAHOD8hACxd3UcEf4ttMHDeqa89HUqOyqy9sy09l8ifom+xGhM3+l3q c6VKL2ybqff7WoZCH/OoymKmhh7GwfP+zNnjvSeVOH2czOuNpuEvRsruS+JVAoCFGI8x 4EtZa+wls4M+WwVI/Mr9uAjQwQjeCfxTTVFzZJMTU1j/P968PSgrqXzZwAoe1OT2PLP2 IQ1x8Gt4FNECpePe9k0UhevQk1JkuKYqNLWPPFJHLn7x9XZCcsH11MGo/d/P3E2QzNk1 WTaA== 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:in-reply-to:date:sender:references:subject:cc:to:from :dkim-signature:dkim-filter; bh=NVDSKyv7tsdrcUXHfz6e7Pjm4BQy3eCLcMPq+7bG+QY=; b=gvuynROfNuuptWyUQm1NHkZYhUfR7b1BRS/Q51j0zMIMF0OlkahdXjJb8QY2XtOkUr j0MgDpkRkstFq6BuOgnHUeyIpboLdU2DeFyIhH9CSH+fDuibnHH3XFbcJ6Tbc5EeNoDx FWE91zgfXaMWGrLoVakX2QHBIVJg7NeFRxpsJCZgCjw/bSZU3NXbEVxyK7ct7XD6tn/i 18sPKP+FUhGoLFeg9ZDqtk5BPV2SWEc3LbuyvIWylzMZ+wHRWrh3NKlfQqXgSfpjtDAR BXGa8MHcpPLO0RtEkyAMj+JJ4xKhPbmQYcY0szc9hIz99NFc1UQNYe3lZKgftae9BevM mwUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@piap.pl header.s=mail header.b=HOnuku6J; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=piap.pl Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si2490388jaj.27.2021.08.13.11.20.52; Fri, 13 Aug 2021 11:21:08 -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=@piap.pl header.s=mail header.b=HOnuku6J; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=piap.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232653AbhHMSTQ (ORCPT + 99 others); Fri, 13 Aug 2021 14:19:16 -0400 Received: from ni.piap.pl ([195.187.100.5]:51452 "EHLO ni.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbhHMSTN (ORCPT ); Fri, 13 Aug 2021 14:19:13 -0400 Received: from t19.piap.pl (OSB1819.piap.pl [10.0.9.19]) by ni.piap.pl (Postfix) with ESMTPSA id BE5DDC3694D5; Fri, 13 Aug 2021 20:18:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 ni.piap.pl BE5DDC3694D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=piap.pl; s=mail; t=1628878724; bh=NVDSKyv7tsdrcUXHfz6e7Pjm4BQy3eCLcMPq+7bG+QY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=HOnuku6JPKA6MWjtgUGeLPiplT1hrqdebmpQ1L248/WnCCH3acRboIN29aMxPBdAX dfourjF86DBozXkyC7lnb5vCaSTP7J1p1pZv9HMKCUQ6g9LK3dzZs13xjzTtXw3RUM 0orltoHrHsu7NInM0/MwW3lFQJaV9IOWvsvRIXA4= From: =?utf-8?Q?Krzysztof_Ha=C5=82asa?= To: Rob Herring Cc: Bjorn Helgaas , PCI , Artem Lapkin , Neil Armstrong , Huacai Chen , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84s?= =?utf-8?Q?ki?= , Richard Zhu , Lucas Stach , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] PCIe: limit Max Read Request Size on i.MX to 512 bytes References: Sender: khalasa@piap.pl Date: Fri, 13 Aug 2021 20:18:44 +0200 In-Reply-To: (Rob Herring's message of "Fri, 13 Aug 2021 08:45:43 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 165564 [Aug 13 2021] X-KLMS-AntiSpam-Version: 5.9.20.0 X-KLMS-AntiSpam-Envelope-From: khalasa@piap.pl X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Auth: dkim=pass header.d=piap.pl X-KLMS-AntiSpam-Info: LuaCore: 454 454 39c6e442fd417993330528e7f9d13ac1bf7fdf8c, {Tracking_arrow_text}, {Tracking_Text_ENG_RU_Has_Extended_Latin_Letters, eng}, {Tracking_marketers, three}, {Tracking_from_domain_doesnt_match_to}, t19.piap.pl:7.1.1;piap.pl:7.1.1;127.0.0.199:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1 X-MS-Exchange-Organization-SCL: -1 X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, bases: 2021/08/13 14:41:00 X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, bases: 2021/08/13 16:28:00 #17028567 X-KLMS-AntiVirus-Status: Clean, skipped Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob, Rob Herring writes: >> +++ b/drivers/pci/Kconfig >> @@ -34,6 +34,9 @@ config PCI_DOMAINS_GENERIC >> config PCI_SYSCALL >> bool >> >> +config NEED_PCIE_MAX_MRRS > > We don't need a config option for this. It's not much code and it will > effectively always be enabled with multi-platform kernels. But... non-ARM kernels? Then perhaps #if CONFIG_ARM? --=20 Krzysztof "Chris" Ha=C5=82asa Sie=C4=87 Badawcza =C5=81ukasiewicz Przemys=C5=82owy Instytut Automatyki i Pomiar=C3=B3w PIAP Al. Jerozolimskie 202, 02-486 Warszawa