intel_th: Disallow multi mode on devices where it's broken
Some versions of Intel TH have an issue that prevents the multi mode of MSU from working correctly, resulting in no trace data and potentially stuck MSU pipeline. Disable multi mode on such devices. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200317062215.15598-2-alexander.shishkin@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
此提交包含在:
@@ -120,6 +120,10 @@ static void intel_th_pci_remove(struct pci_dev *pdev)
|
||||
pci_free_irq_vectors(pdev);
|
||||
}
|
||||
|
||||
static const struct intel_th_drvdata intel_th_1x_multi_is_broken = {
|
||||
.multi_is_broken = 1,
|
||||
};
|
||||
|
||||
static const struct intel_th_drvdata intel_th_2x = {
|
||||
.tscu_enable = 1,
|
||||
.has_mintctl = 1,
|
||||
@@ -152,7 +156,7 @@ static const struct pci_device_id intel_th_pci_id_table[] = {
|
||||
{
|
||||
/* Kaby Lake PCH-H */
|
||||
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa2a6),
|
||||
.driver_data = (kernel_ulong_t)0,
|
||||
.driver_data = (kernel_ulong_t)&intel_th_1x_multi_is_broken,
|
||||
},
|
||||
{
|
||||
/* Denverton */
|
||||
@@ -207,7 +211,7 @@ static const struct pci_device_id intel_th_pci_id_table[] = {
|
||||
{
|
||||
/* Comet Lake PCH-V */
|
||||
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa3a6),
|
||||
.driver_data = (kernel_ulong_t)&intel_th_2x,
|
||||
.driver_data = (kernel_ulong_t)&intel_th_1x_multi_is_broken,
|
||||
},
|
||||
{
|
||||
/* Ice Lake NNPI */
|
||||
|
新增問題並參考
封鎖使用者