Re: [PATCH] cxl: Remove unnecessary cxl_pci_window_alignment()

2022-12-08 Thread Michael Ellerman
On Mon, 5 Dec 2022 16:32:31 -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > cxl_pci_window_alignment() is referenced only via the struct > pci_controller_ops.window_alignment function pointer, and only in the > powerpc implementation of pcibios_window_alignment(). > > pcibios_window_alignm

Re: [PATCH] cxl: Remove unnecessary cxl_pci_window_alignment()

2022-12-05 Thread Frederic Barrat
On 05/12/2022 23:32, Bjorn Helgaas wrote: From: Bjorn Helgaas cxl_pci_window_alignment() is referenced only via the struct pci_controller_ops.window_alignment function pointer, and only in the powerpc implementation of pcibios_window_alignment(). pcibios_window_alignment() defaults to retur

[PATCH] cxl: Remove unnecessary cxl_pci_window_alignment()

2022-12-05 Thread Bjorn Helgaas
From: Bjorn Helgaas cxl_pci_window_alignment() is referenced only via the struct pci_controller_ops.window_alignment function pointer, and only in the powerpc implementation of pcibios_window_alignment(). pcibios_window_alignment() defaults to returning 1 if the function pointer is NULL, which i