stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: Jocelyn Falempe <jfalempe@redhat.com>,
	Kuo-Hsiang Chou <kuohsiang_chou@aspeedtech.com>,
	"airlied@redhat.com" <airlied@redhat.com>,
	"airlied@linux.ie" <airlied@linux.ie>,
	"daniel@ffwll.ch" <daniel@ffwll.ch>,
	"regressions@leemhuis.info" <regressions@leemhuis.info>
Cc: "dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	Luke Chen <luke_chen@aspeedtech.com>,
	Hungju Huang <hungju_huang@aspeedtech.com>,
	Charles Kuan <charles_kuan@aspeedtech.com>
Subject: Re: [PATCH] drm/ast: Treat AST2600 like AST2500 in most places
Date: Thu, 9 Jun 2022 09:13:25 +0200	[thread overview]
Message-ID: <f29a8c60-7f4e-eb93-feb1-863f82ec8f4f@suse.de> (raw)
In-Reply-To: <91519070-5c5b-1337-3dab-10decb1b258d@redhat.com>


[-- Attachment #1.1: Type: text/plain, Size: 3829 bytes --]



Am 09.06.22 um 09:06 schrieb Jocelyn Falempe:
> On 09/06/2022 04:32, Kuo-Hsiang Chou wrote:
>> Hi Jocelyn Falempe,
>>
>> -----Original Message-----
>> From: Jocelyn Falempe [mailto:jfalempe@redhat.com]
>> Sent: Wednesday, June 08, 2022 9:17 PM
>> To: Kuo-Hsiang Chou <kuohsiang_chou@aspeedtech.com>; Thomas Zimmermann 
>> <tzimmermann@suse.de>; airlied@redhat.com; airlied@linux.ie; 
>> daniel@ffwll.ch; regressions@leemhuis.info
>> Cc: dri-devel@lists.freedesktop.org; stable@vger.kernel.org; Luke Chen 
>> <luke_chen@aspeedtech.com>; Hungju Huang 
>> <hungju_huang@aspeedtech.com>; Charles Kuan <charles_kuan@aspeedtech.com>
>> Subject: Re: [PATCH] drm/ast: Treat AST2600 like AST2500 in most places
>>
>> On 08/06/2022 10:09, Kuo-Hsiang Chou wrote:
>>> Hi Thomas
>>>
>>> Thanks for your suggestions!
>>>
>>> I answer each revision inline that followed by [KH]:.
>>
>> Thanks for reviewing this.
>>>
>>> Regards,
>>>
>>>           Kuo-Hsiang Chou
>>>
>>> -----Original Message-----
>>>
>>> From: Thomas Zimmermann [mailto:tzimmermann@suse.de]
>>>
>>> Sent: Tuesday, June 07, 2022 8:03 PM
>>>
>>> To: airlied@redhat.com; airlied@linux.ie; daniel@ffwll.ch;
>>> jfalempe@redhat.com; regressions@leemhuis.info; Kuo-Hsiang Chou
>>> <kuohsiang_chou@aspeedtech.com>
>>>
>>> Subject: [PATCH] drm/ast: Treat AST2600 like AST2500 in most places
>>>
>>> Include AST2600 in most of the branches for AST2500. Thereby revert
>>> most effects of commit f9bd00e0ea9d ("drm/ast: Create chip AST2600").
>>>
>>> The AST2600 used to be treated like an AST2500, which at least gave
>>> usable display output. After introducing AST2600 in the driver without
>>> further updates, lots of functions take the wrong branches.
>>>
>>> Handling AST2600 in the AST2500 branches reverts back to the original
>>> settings. The exception are cases where AST2600 meanwhile got its own
>>> branch.
>>>
>>> [KH]: Based on CVE_2019_6260 item3, P2A is disallowed anymore.
>>>
>>> P2A (PCIe to AMBA) is a bridge that is able to revise any BMC registers.
>>>
>>> Yes, P2A is dangerous on security issue, because Host open a backdoor
>>> and someone malicious SW/APP will be easy to take control of BMC.
>>>
>>> Therefore, P2A is disabled forever.
>>>
>>> Now, return to this patch, there is no need to add AST2600 condition
>>> on the P2A flow.
>>>
>>
>> [snip]
>>>
>>> [KH]: Yes, the patch is "drm/ast: Create threshold values for AST2600"
>>> that is the root cause of whites lines on AST2600
>>>
>>> commit
>>>
>>>
>>> bcc77411e8a65929655cef7b63a36000724cdc4b
>>> <https://cgit.freedesktop.org/drm/drm/commit/?id=bcc77411e8a65929655ce
>>> f7b63a36000724cdc4b> (patch
>>> <https://cgit.freedesktop.org/drm/drm/patch/?id=bcc77411e8a65929655cef
>>> 7b63a36000724cdc4b>)
>>>
>>
>>
>> So basically this commit should be enough to fix the white lines  and 
>> flickering with VGA output on AST2600 ?
>> [KH]: Yes.
>>     You are welcome to tell me something if you consider there is 
>> other strange issue.
>>     Thanks for your efforts on drm/ast project!
>> Regards,
>>     Kuo-Hsiang Chou
> 
> I've got confirmation that this commit is enough to fix the issue 
> introduced with f9bd00e0ea9d.
> 
> So let's drop this patch, and submit bcc77411e8a6 "drm/ast: Create 
> threshold values for AST2600" to stable kernel instead.

Thanks to both of you for your help with this bug.

Best regards
Thomas

> 
> Thanks,
> 
>>
>> I will try to have it tested, and if it's good, we may want to have it 
>> on stable kernel.
>>
>> Best regards,
>>
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

      reply	other threads:[~2022-06-09  7:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07 12:02 [PATCH] drm/ast: Treat AST2600 like AST2500 in most places Thomas Zimmermann
2022-06-07 12:07 ` Thomas Zimmermann
2022-06-08  7:41   ` Jocelyn Falempe
     [not found] ` <PSAPR06MB4805B23B053F80C0F23A8C6C8CA49@PSAPR06MB4805.apcprd06.prod.outlook.com>
2022-06-08 13:16   ` Jocelyn Falempe
2022-06-09  2:32     ` Kuo-Hsiang Chou
2022-06-09  7:06       ` Jocelyn Falempe
2022-06-09  7:13         ` Thomas Zimmermann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f29a8c60-7f4e-eb93-feb1-863f82ec8f4f@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@linux.ie \
    --cc=airlied@redhat.com \
    --cc=charles_kuan@aspeedtech.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hungju_huang@aspeedtech.com \
    --cc=jfalempe@redhat.com \
    --cc=kuohsiang_chou@aspeedtech.com \
    --cc=luke_chen@aspeedtech.com \
    --cc=regressions@leemhuis.info \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).