mbox series

[SRU,J:linux-bluefield,0/1] support PCI BARs larger than 128GB

Message ID 20230926110458.6329-1-bartlomiej.zolnierkiewicz@canonical.com
Headers show
Series support PCI BARs larger than 128GB | expand

Message

Bartlomiej Zolnierkiewicz Sept. 26, 2023, 11:04 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2037403

[SRU Justification]

[Impact]

Current linux-bluefield kernel reports that PCI BARs larger than 128GB are disabled.

Increase the maximum PCI BAR size from 128GB to 8TB for future expansion.

[Test Plan]

Use updated kernel with PCI device with PCI BARs larger than 128GB.

[Where problems could occur]

No potential problems are expected.

[Other Info]

Testing has been provided by the customer. This patch is a cherry-pick from the upstream 5.18 kernel. It is intended for linux-bluefield kernel re-spin but it may be also suitable for the generic kernel (separate submission).


Dongdong Liu (1):
  PCI: Support BAR sizes up to 8TB

 drivers/pci/setup-bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Roxana Nicolescu Sept. 26, 2023, 11:27 a.m. UTC | #1
On 26/09/2023 13:04, Bartlomiej Zolnierkiewicz wrote:
> BugLink: https://bugs.launchpad.net/bugs/2037403
>
> [SRU Justification]
>
> [Impact]
>
> Current linux-bluefield kernel reports that PCI BARs larger than 128GB are disabled.
>
> Increase the maximum PCI BAR size from 128GB to 8TB for future expansion.
>
> [Test Plan]
>
> Use updated kernel with PCI device with PCI BARs larger than 128GB.
>
> [Where problems could occur]
>
> No potential problems are expected.
>
> [Other Info]
>
> Testing has been provided by the customer. This patch is a cherry-pick from the upstream 5.18 kernel. It is intended for linux-bluefield kernel re-spin but it may be also suitable for the generic kernel (separate submission).
>
>
> Dongdong Liu (1):
>    PCI: Support BAR sizes up to 8TB
>
>   drivers/pci/setup-bus.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
Thadeu Lima de Souza Cascardo Sept. 26, 2023, 11:27 a.m. UTC | #2
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Bartlomiej Zolnierkiewicz Sept. 26, 2023, 11:49 a.m. UTC | #3
Applied to jammy:linux-bluefield/master-next.

--
Best regards,
Bartlomiej

On Tue, Sep 26, 2023 at 1:05 PM Bartlomiej Zolnierkiewicz
<bartlomiej.zolnierkiewicz@canonical.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2037403
>
> [SRU Justification]
>
> [Impact]
>
> Current linux-bluefield kernel reports that PCI BARs larger than 128GB are disabled.
>
> Increase the maximum PCI BAR size from 128GB to 8TB for future expansion.
>
> [Test Plan]
>
> Use updated kernel with PCI device with PCI BARs larger than 128GB.
>
> [Where problems could occur]
>
> No potential problems are expected.
>
> [Other Info]
>
> Testing has been provided by the customer. This patch is a cherry-pick from the upstream 5.18 kernel. It is intended for linux-bluefield kernel re-spin but it may be also suitable for the generic kernel (separate submission).
>
>
> Dongdong Liu (1):
>   PCI: Support BAR sizes up to 8TB
>
>  drivers/pci/setup-bus.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>