From patchwork Thu Apr 12 21:08:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 897803 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TghOc3aQ"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40MYR52QZKz9s1B for ; Fri, 13 Apr 2018 07:08:17 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753112AbeDLVIP (ORCPT ); Thu, 12 Apr 2018 17:08:15 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:55616 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753102AbeDLVIP (ORCPT ); Thu, 12 Apr 2018 17:08:15 -0400 Received: by mail-wm0-f65.google.com with SMTP id b127so990809wmf.5 for ; Thu, 12 Apr 2018 14:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=LIbJqTZDZorCI5kxOHsQN9q0yrrPMsGhXt/3XpIAfV4=; b=TghOc3aQVMXDqWhrU+YMBc8zkCTLxa3CPUdCFaDHuGLoC2ShtctLI+VZ45KQMCKGJA Rax8qiymgdxR5x2RTkifyJbRsICmwUbkJD6PPslzSu4t1GpReT1Iw8gOBydmuPvMGp4J HYiJZ9FvEBRwRi2E9os/wHI1isnoHIcLUxpH+65gV01Rs9RgR8Xill959YZEBJtNFfpk 54o3uiajdkiBbY3NC6PRKfpG8Kv0Oc7aXyQSLdnDubV4Ba3CJWkO0H9RFvIQ9YkcpuIY SYcHgtPYfq0TJp/2T7mnC13fvf+jK1FB8hR80xR2fQwyq5NKnw06jMqYfi0D+ALikSKX DSFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=LIbJqTZDZorCI5kxOHsQN9q0yrrPMsGhXt/3XpIAfV4=; b=h6tGOy5KJaoj0fiLBi5ih8qZPPMRaIRkv3Hzv0fgxMTbTN9XMXfoirW2kjv2hfQHgW r4kbQdjZdyvhrnuZbHmCmSYCbJ1Ya5Xbv1oK55p/5ILiXgv2f1b6sXTwysVkMjY+ksrD IZ1o6sawO1kIWVXM/yDA5HJnYvqAvaU+jlCjB0UDAv/IF2IKRBQ0zGx/C+OgolABvuoN 9zi22o76XrQWZJXKGLGhAMa6LPu6E4+QjRzn3fu0Fv8WB304AMjiUtD296pNY7h1TXXN 4Wujleihy/IltqMuy5DSZ4tD+d6/QVQHPRghR44JWh/5tOiygHHGo3p/CdJ76l2lat90 B1VA== X-Gm-Message-State: ALQs6tAd6BI1T/9D2985IrtVTRn84Sbxmk1mLORIpp+Xp+h1wY/SCZP6 vfrf2KCXxVFUVhNs7haPi4jLOg== X-Google-Smtp-Source: AIpwx4+oKEKpM7l9RtntjvVFS7owmYLjL6G67I3q76j1sQB0LEnKwgG/32NOJMjfLbUKP/NUfQhz7Q== X-Received: by 10.28.191.27 with SMTP id p27mr1928056wmf.97.1523567293878; Thu, 12 Apr 2018 14:08:13 -0700 (PDT) Received: from ?IPv6:2003:ea:8bd4:3d00:b8e9:f7e1:ea5f:c18a? (p200300EA8BD43D00B8E9F7E1EA5FC18A.dip0.t-ipconnect.de. [2003:ea:8bd4:3d00:b8e9:f7e1:ea5f:c18a]) by smtp.googlemail.com with ESMTPSA id t76sm317894wme.17.2018.04.12.14.08.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Apr 2018 14:08:13 -0700 (PDT) From: Heiner Kallweit Subject: [PATCH] PCI: Add two more values for PCIe Max_Read_Request_Size To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Message-ID: <90260d62-e136-44a3-a35b-19fac1bcfb20@gmail.com> Date: Thu, 12 Apr 2018 23:08:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This patch adds missing values for the max read request size. E.g. network driver r8169 uses a value of 4K. Signed-off-by: Heiner Kallweit --- include/uapi/linux/pci_regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index 0c79eac5..699257fb 100644 --- a/include/uapi/linux/pci_regs.h +++ b/include/uapi/linux/pci_regs.h @@ -506,6 +506,8 @@ #define PCI_EXP_DEVCTL_READRQ_256B 0x1000 /* 256 Bytes */ #define PCI_EXP_DEVCTL_READRQ_512B 0x2000 /* 512 Bytes */ #define PCI_EXP_DEVCTL_READRQ_1024B 0x3000 /* 1024 Bytes */ +#define PCI_EXP_DEVCTL_READRQ_2048B 0x4000 /* 2048 Bytes */ +#define PCI_EXP_DEVCTL_READRQ_4096B 0x5000 /* 4096 Bytes */ #define PCI_EXP_DEVCTL_BCR_FLR 0x8000 /* Bridge Configuration Retry / FLR */ #define PCI_EXP_DEVSTA 10 /* Device Status */ #define PCI_EXP_DEVSTA_CED 0x0001 /* Correctable Error Detected */