On 29. 04. 25, 18:37, Greg Kroah-Hartman wrote:
6.14-stable review patch. If anyone has any objections, please let me know.
From: Niklas Schnelle schnelle@linux.ibm.com
[ Upstream commit aa9f168d55dc47c0de564f7dfe0e90467c9fee71 ]
...
+static void zpci_ism_bar_no_mmap(struct pci_dev *pdev) +{
- /*
* ISM's BAR is special. Drivers written for ISM know
* how to handle this but others need to be aware of their
* special nature e.g. to prevent attempts to mmap() it.
*/
- pdev->non_mappable_bars = 1;
I see: arch/s390/pci/pci_fixup.c: In function 'zpci_ism_bar_no_mmap': arch/s390/pci/pci_fixup.c:19:13: error: 'struct pci_dev' has no member named 'non_mappable_bars' 19 | pdev->non_mappable_bars = 1; | ^~
The above needs at least: commit 888bd8322dfc325dc5ad99184baba4e1fd91082d Author: Niklas Schnelle schnelle@linux.ibm.com Date: Wed Feb 26 13:07:46 2025 +0100
s390/pci: Introduce pdev->non_mappable_bars and replace VFIO_PCI_MMAP
thanks,