Re: [PATCH v3] ns16550: enable memory decoding on MMIO-based PCI console card

2023-05-08 Thread Marek Marczykowski-Górecki
On Mon, May 08, 2023 at 11:01:18AM +0200, Jan Beulich wrote: > On 05.05.2023 23:48, Marek Marczykowski-Górecki wrote: > > pci_serial_early_init() enables PCI_COMMAND_IO for IO-based UART > > devices, add setting PCI_COMMAND_MEMORY for MMIO-based UART devices too. > > Note the MMIO-based devices in

Re: [PATCH v3] ns16550: enable memory decoding on MMIO-based PCI console card

2023-05-08 Thread Jan Beulich
On 05.05.2023 23:48, Marek Marczykowski-Górecki wrote: > pci_serial_early_init() enables PCI_COMMAND_IO for IO-based UART > devices, add setting PCI_COMMAND_MEMORY for MMIO-based UART devices too. > Note the MMIO-based devices in practice need a "pci" sub-option, > otherwise a few parameters are

[PATCH v3] ns16550: enable memory decoding on MMIO-based PCI console card

2023-05-05 Thread Marek Marczykowski-Górecki
pci_serial_early_init() enables PCI_COMMAND_IO for IO-based UART devices, add setting PCI_COMMAND_MEMORY for MMIO-based UART devices too. Note the MMIO-based devices in practice need a "pci" sub-option, otherwise a few parameters are not initialized (including bar_idx, reg_shift, reg_width etc).