Re: [PATCH] PCI: don't allow "pci-phantom=" to mark real devices as phantom functions

2022-05-19 Thread Jan Beulich
On 06.05.2022 08:21, Jan Beulich wrote: > On 05.05.2022 21:10, Andrew Cooper wrote: >> On 29/04/2022 14:05, Jan Beulich wrote: >>> [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments >>> unless you have verified the sender and know the content is safe. >>> >>> IOMMU code mapp

Re: [PATCH] PCI: don't allow "pci-phantom=" to mark real devices as phantom functions

2022-05-05 Thread Jan Beulich
On 05.05.2022 21:10, Andrew Cooper wrote: > On 29/04/2022 14:05, Jan Beulich wrote: >> [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments >> unless you have verified the sender and know the content is safe. >> >> IOMMU code mapping / unmapping devices and interrupts will mis

Re: [PATCH] PCI: don't allow "pci-phantom=" to mark real devices as phantom functions

2022-05-05 Thread Andrew Cooper
On 29/04/2022 14:05, Jan Beulich wrote: > [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments > unless you have verified the sender and know the content is safe. > > IOMMU code mapping / unmapping devices and interrupts will misbehave if > a wrong command line option declared

Re: [PATCH] PCI: don't allow "pci-phantom=" to mark real devices as phantom functions

2022-05-05 Thread Roger Pau Monné
On Thu, May 05, 2022 at 05:14:14PM +0200, Jan Beulich wrote: > On 05.05.2022 17:00, Roger Pau Monné wrote: > > On Fri, Apr 29, 2022 at 03:05:32PM +0200, Jan Beulich wrote: > >> [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments > >> unless you have verified the sender and kn

Re: [PATCH] PCI: don't allow "pci-phantom=" to mark real devices as phantom functions

2022-05-05 Thread Jan Beulich
On 05.05.2022 17:00, Roger Pau Monné wrote: > On Fri, Apr 29, 2022 at 03:05:32PM +0200, Jan Beulich wrote: >> [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments >> unless you have verified the sender and know the content is safe. >> >> IOMMU code mapping / unmapping devices

Re: [PATCH] PCI: don't allow "pci-phantom=" to mark real devices as phantom functions

2022-05-05 Thread Roger Pau Monné
On Fri, Apr 29, 2022 at 03:05:32PM +0200, Jan Beulich wrote: > [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments > unless you have verified the sender and know the content is safe. > > IOMMU code mapping / unmapping devices and interrupts will misbehave if > a wrong comman

[PATCH] PCI: don't allow "pci-phantom=" to mark real devices as phantom functions

2022-04-29 Thread Jan Beulich
IOMMU code mapping / unmapping devices and interrupts will misbehave if a wrong command line option declared a function "phantom" when there's a real device at that position. Warn about this and adjust the specified stride (in the worst case ignoring the option altogether). Requested-by: Andrew Co