[Artful/OEM][PATCH 0/2] Wyse 3040: Fix system hang after the cycle of cpu offline/online

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Artful/OEM][PATCH 0/2] Wyse 3040: Fix system hang after the cycle of cpu offline/online

Wen-chien Jesse Sung
BugLink: https://launchpad.net/bugs/1736393

Wyse 3040 will hang after bringing an offline CPU core online again.

The first commit fixes the problem, and the second one makes sure that it
only affects the specific system.

Please apply this fix to both artful and OEM kernels at the same time
in order to meet the project schedule.


Raymond Liu (1):
  UBUNTU: SAUCE: drm/i915:Don't set chip specific data

Wen-chien Jesse Sung (1):
  UBUNTU: SAUCE: drm/i915: make previous commit affects Wyse 3040 only

 drivers/gpu/drm/i915/intel_lpe_audio.c | 8 ++++++++
 1 file changed, 8 insertions(+)

--
2.7.4


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[Artful/OEM][PATCH 1/2] UBUNTU: SAUCE: drm/i915:Don't set chip specific data

Wen-chien Jesse Sung
From: Raymond Liu <[hidden email]>

BugLink: https://launchpad.net/bugs/1736393

This chip data is unused and cause panic after
the cycle of cpu offline/online

Signed-off-by: Raymond Liu <[hidden email]>
Signed-off-by: Wen-chien Jesse Sung <[hidden email]>
---
 drivers/gpu/drm/i915/intel_lpe_audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_lpe_audio.c b/drivers/gpu/drm/i915/intel_lpe_audio.c
index 3bf6528..56176f9 100644
--- a/drivers/gpu/drm/i915/intel_lpe_audio.c
+++ b/drivers/gpu/drm/i915/intel_lpe_audio.c
@@ -176,7 +176,7 @@ static int lpe_audio_irq_init(struct drm_i915_private *dev_priv)
  handle_simple_irq,
  "hdmi_lpe_audio_irq_handler");
 
- return irq_set_chip_data(irq, dev_priv);
+ return 0;
 }
 
 static bool lpe_audio_detect(struct drm_i915_private *dev_priv)
--
2.7.4


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[Artful/OEM][PATCH 2/2] UBUNTU: SAUCE: drm/i915: make previous commit affects Wyse 3040 only

Wen-chien Jesse Sung
In reply to this post by Wen-chien Jesse Sung
BugLink: https://launchpad.net/bugs/1736393

Signed-off-by: Wen-chien Jesse Sung <[hidden email]>
---
 drivers/gpu/drm/i915/intel_lpe_audio.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_lpe_audio.c b/drivers/gpu/drm/i915/intel_lpe_audio.c
index 56176f9..18606dd 100644
--- a/drivers/gpu/drm/i915/intel_lpe_audio.c
+++ b/drivers/gpu/drm/i915/intel_lpe_audio.c
@@ -176,7 +176,15 @@ static int lpe_audio_irq_init(struct drm_i915_private *dev_priv)
  handle_simple_irq,
  "hdmi_lpe_audio_irq_handler");
 
- return 0;
+ static const struct pci_device_id irq_quirk_ids[] = {
+ /* Dell Wyse 3040 */
+ {PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, 0x22b0, 0x1028, 0x07c1)},
+ {}
+ };
+
+ if (pci_dev_present(irq_quirk_ids))
+ return 0;
+ return irq_set_chip_data(irq, dev_priv);
 }
 
 static bool lpe_audio_detect(struct drm_i915_private *dev_priv)
--
2.7.4


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team