[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
7 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
Reply | Threaded
Open this post in threaded view
|

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

Kai-Heng Feng
In reply to this post by Wen-chien Jesse Sung


> On 5 Dec 2017, at 10:07 PM, Wen-chien Jesse Sung <[hidden email]> wrote:
>
> 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.
>

Definition at declaration should be treated as declaration: it should be at the
beginning of the function. But I think it’s a minor thing, so,

Acked-By: Kai-Heng Feng <[hidden email]>

>
> 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


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

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

Timo Aaltonen-6
In reply to this post by Wen-chien Jesse Sung
On 05.12.2017 16:07, Wen-chien Jesse Sung wrote:

> 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(+)

Acked and applied, since the quirk is limited to a single machine ID.

thanks

--
t

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

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

Timo Aaltonen-6
On 14.12.2017 12:37, Timo Aaltonen wrote:

> On 05.12.2017 16:07, Wen-chien Jesse Sung wrote:
>> 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(+)
>
> Acked and applied, since the quirk is limited to a single machine ID.

and this was applied to linux-oem


--
t

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

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

Kleber Souza
In reply to this post by Wen-chien Jesse Sung
On 12/05/17 15:07, Wen-chien Jesse Sung wrote:

> 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(+)
>

Applied to artful/master-next-backlog branch.

Thanks,
Kleber

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