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: 10339239 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9BABA600D0 for ; Thu, 12 Apr 2018 21:08:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79FC828458 for ; Thu, 12 Apr 2018 21:08:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E5DF28497; Thu, 12 Apr 2018 21:08:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D952528458 for ; Thu, 12 Apr 2018 21:08:16 +0000 (UTC) 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 */