lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 7 Jan 2021 14:42:22 +0000
From:   Shameerali Kolothum Thodi <shameerali.kolothum.thodi@...wei.com>
To:     wanghuiqiang <wanghuiqiang@...wei.com>,
        'Ard Biesheuvel' <ardb@...nel.org>,
        'Marc Zyngier' <maz@...nel.org>
CC:     "'eric.auger@...hat.com'" <eric.auger@...hat.com>,
        "'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>,
        "'linux-arm-kernel@...ts.infradead.org'" 
        <linux-arm-kernel@...ts.infradead.org>,
        Linuxarm <linuxarm@...wei.com>, "xuwei (O)" <xuwei5@...wei.com>
Subject: RE: [PATCH] irqchip/gic-v3: Check SRE bit for GICv2 legacy support

> -----Original Message-----
> From: wanghuiqiang
> Sent: 06 January 2021 09:22
> To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@...wei.com>;
> 'Ard Biesheuvel' <ardb@...nel.org>
> Cc: 'Marc Zyngier' <maz@...nel.org>; 'eric.auger@...hat.com'
> <eric.auger@...hat.com>; 'linux-kernel@...r.kernel.org'
> <linux-kernel@...r.kernel.org>; 'linux-arm-kernel@...ts.infradead.org'
> <linux-arm-kernel@...ts.infradead.org>; Linuxarm <linuxarm@...wei.com>;
> xuwei (O) <xuwei5@...wei.com>
> Subject: 答复: [PATCH] irqchip/gic-v3: Check SRE bit for GICv2 legacy support
> 
> Hi Ard and all,
> 
> The issue is root caused, it is introduced by BIOS new feature implemented.
> With old BIOS,we use static MADT table and the GICV/GICH is set to 0 and
> reported this table to OS. But we added new features which will dynamic
> update MADT table based on some external input, the developer is set
> GICV/GICH as what we have done like previous generation chipset code did.
> But in fact, there is different compared with old generation chipset code.
> I'll let my internal team know this and fix this issue in later BIOS release.

Thanks Wanghuiqiang for your efforts and confirming the issue.

Hi Marc,

Considering the fact that we have systems out there with the faulty BIOS, and it is
not necessarily everyone will be keen to update the BIOS, I think it is better to
address this in kernel as well.

As discussed earlier, please consider the SRE bit based solution to make the logic
more robust irrespective of what BIOS provides.

(I don’t have an erratum id for this as I am told we keep that for Hardware issues
only, but we are using DTS202101070OAGUIP1L00 to track the issue and can be
used as reference).

Thanks,
Shameer 

> Thanks!
> 
> -----邮件原件-----
> 发件人: wanghuiqiang
> 发送时间: 2020年12月15日 15:49
> 收件人: Shameerali Kolothum Thodi
> <shameerali.kolothum.thodi@...wei.com>; Ard Biesheuvel
> <ardb@...nel.org>
> 抄送: Marc Zyngier <maz@...nel.org>; eric.auger@...hat.com;
> linux-kernel@...r.kernel.org; linux-arm-kernel@...ts.infradead.org; Linuxarm
> <linuxarm@...wei.com>; xuwei (O) <xuwei5@...wei.com>
> 主题: 答复: [PATCH] irqchip/gic-v3: Check SRE bit for GICv2 legacy support
> 
> Sorry response late.
> Hi Shameer & Ard,
> 
> Could you let me know which firmware you are using? If the difference is Madt
> table vGIC your pointed , they are the same. We changed the vGIC memory
> base address at very early design stage.
> 
> Thanks!
> 
> -----邮件原件-----
> 发件人: Shameerali Kolothum Thodi
> 发送时间: 2020年12月2日 16:23
> 收件人: Ard Biesheuvel <ardb@...nel.org>
> 抄送: Marc Zyngier <maz@...nel.org>; eric.auger@...hat.com;
> linux-kernel@...r.kernel.org; linux-arm-kernel@...ts.infradead.org; Linuxarm
> <linuxarm@...wei.com>; wanghuiqiang <wanghuiqiang@...wei.com>; xuwei
> (O) <xuwei5@...wei.com>
> 主题: RE: [PATCH] irqchip/gic-v3: Check SRE bit for GICv2 legacy support
> 
> [+]
> 
> > -----Original Message-----
> > From: Ard Biesheuvel [mailto:ardb@...nel.org]
> > Sent: 30 November 2020 18:32
> > To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@...wei.com>
> > Cc: Marc Zyngier <maz@...nel.org>; eric.auger@...hat.com;
> > linux-kernel@...r.kernel.org; linux-arm-kernel@...ts.infradead.org;
> > Linuxarm <linuxarm@...wei.com>
> > Subject: Re: [PATCH] irqchip/gic-v3: Check SRE bit for GICv2 legacy
> > support
> >
> ...
> 
> >
> > Any clue why production D06 firmware deviates from the D06 port that
> > exists in Tianocore's edk2-platforms repository? Because that version
> > does not have this bug, and I wonder why that code was upstreamed at
> > all if a substantially different version gets shipped with production
> > hardware.
> 
> Ok. Thanks for pointing this out. I have informed our UEFI team about this.
> They will check Internally and clarify.
> 
> Regards,
> Shameer

Powered by blists - more mailing lists