msi.c (a58a4cb18725117bf69e6bee0a753c8b73b09667) | msi.c (cb8d4c8f54b8271f642f02382eec29d468bb1c77) |
---|---|
1/* 2 * msi.c 3 * 4 * Copyright (c) 2010 Isaku Yamahata <yamahata at valinux co jp> 5 * VA Linux Systems Japan K.K. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 26 unchanged lines hidden (view full) --- 35#define PCI_MSI_VECTORS_MAX 32 36 37/* 38 * Flag for interrupt controllers to declare broken MSI/MSI-X support. 39 * values: false - broken; true - non-broken. 40 * 41 * Setting this flag to false will remove MSI/MSI-X capability from all devices. 42 * | 1/* 2 * msi.c 3 * 4 * Copyright (c) 2010 Isaku Yamahata <yamahata at valinux co jp> 5 * VA Linux Systems Japan K.K. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 26 unchanged lines hidden (view full) --- 35#define PCI_MSI_VECTORS_MAX 32 36 37/* 38 * Flag for interrupt controllers to declare broken MSI/MSI-X support. 39 * values: false - broken; true - non-broken. 40 * 41 * Setting this flag to false will remove MSI/MSI-X capability from all devices. 42 * |
43 * It is preferrable for controllers to set this to true (non-broken) even if | 43 * It is preferable for controllers to set this to true (non-broken) even if |
44 * they do not actually support MSI/MSI-X: guests normally probe the controller 45 * type and do not attempt to enable MSI/MSI-X with interrupt controllers not 46 * supporting such, so removing the capability is not required, and 47 * it seems cleaner to have a given device look the same for all boards. 48 * 49 * TODO: some existing controllers violate the above rule. Identify and fix them. 50 */ 51bool msi_nonbroken; --- 370 unchanged lines hidden --- | 44 * they do not actually support MSI/MSI-X: guests normally probe the controller 45 * type and do not attempt to enable MSI/MSI-X with interrupt controllers not 46 * supporting such, so removing the capability is not required, and 47 * it seems cleaner to have a given device look the same for all boards. 48 * 49 * TODO: some existing controllers violate the above rule. Identify and fix them. 50 */ 51bool msi_nonbroken; --- 370 unchanged lines hidden --- |