From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 000747803CC for ; Thu, 9 Nov 2023 13:43:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Jxr+kNuH+GPhdTeLvaAtzVievmbPDVJnyOyP2St/oMo=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20140610; t=1699537383; v=1; b=E4AfiXHdTuKU2Ednh5ov2nA0F69jcjmAOqh+tZyWWnRiHT6Fv0/CggUZqLRUiAg6GK+0/9M5 tkU52pLZb4TUzGWmfLITNoRNCknZY/2Y/bCDYsahxKjAHDOMVQWYPWFqtj3EkkMBPU1aBC3f26w 3owFIX6OusMa3dcyjGVToSJY= X-Received: by 127.0.0.2 with SMTP id KakKYY7687511xeyVlSX45Ev; Thu, 09 Nov 2023 05:43:03 -0800 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.121598.1699537380663003457 for ; Thu, 09 Nov 2023 05:43:03 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id D40EFDDA785 for ; Thu, 9 Nov 2023 21:42:52 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id CD768DDA784 for ; Thu, 9 Nov 2023 21:42:52 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id DE19CDDA7B4 for ; Thu, 9 Nov 2023 21:42:46 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([124.133.49.51]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Thu, 09 Nov 2023 21:42:35 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 124.133.49.51 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , , "'Yeping Song \(QUIC\)'" Cc: "'Rebecca Cran'" , "'Bob Feng'" , "'Yuwei Chen'" , "'Ard Biesheuvel'" , "'Sami Mujawar'" , "'Kinney, Michael D'" References: <17942B788A4667A6.3650@groups.io> <0e0d7f3f-6e56-41fd-8eb4-b4fec469f629@quicinc.com> In-Reply-To: <0e0d7f3f-6e56-41fd-8eb4-b4fec469f629@quicinc.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gQmFzZVRvb2xzL3Rvb2xzX2RlZjogZHJvcCAtbWdlbmVyYWwtcmVncy1vbmx5IGZvciBBQXJjaDY0IENMQU5HRFdBUkY=?= Date: Thu, 9 Nov 2023 21:42:38 +0800 Message-ID: <011901da1312$9ae7ea00$d0b7be00$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQGoXDKaWXjRnY0akOLYIFi3C7OoBgKt/pgNAoQYI4Gwq9v2kA== Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: LWiJl7FO3Tlr2i9AqwELDFeNx7686176AA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=E4AfiXHd; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Leif: Sure. This patch can be merged for this stable tag.=20 Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 Leif Lindholm > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B411=E6=9C=887=E6=97=A5 = 21:13 > =E6=94=B6=E4=BB=B6=E4=BA=BA: Yeping Song (QUIC) ; > devel@edk2.groups.io; Liming Gao > =E6=8A=84=E9=80=81: Rebecca Cran ; Bob Feng > ; Yuwei Chen ; Ard > Biesheuvel ; Sami Mujawar > ; Kinney, Michael D > =E4=B8=BB=E9=A2=98: Re: [edk2-devel] [PATCH 1/1] BaseTools/tools_def: dro= p > -mgeneral-regs-only for AArch64 CLANGDWARF >=20 > Liming, >=20 > You reviewed this patch before the stable tag. Am I OK to stage a github > PR for this change? >=20 > Reviewed-by: Leif Lindholm >=20 > Regards, >=20 > Leif >=20 > On 2023-11-07 13:11, Yeping Song (QUIC) wrote: > > Hi all, > > I would like for this to be include in stable tag. Please help to revie= w and > merge this patch into stable release. > > Thanks > > Yepings > > > > > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of Yeping > Song > > Sent: Saturday, November 4, 2023 12:38 AM > > To: devel@edk2.groups.io > > Cc: Yeping Song (QUIC) ; Rebecca Cran > ; Liming Gao ; Bob Feng > ; Yuwei Chen ; Ard > Biesheuvel ; Leif Lindholm (QUIC) > ; Sami Mujawar > > Subject: [edk2-devel] [PATCH 1/1] BaseTools/tools_def: drop > -mgeneral-regs-only for AArch64 CLANGDWARF > > > > WARNING: This email originated from outside of Qualcomm. Please be wary > of any links or attachments, and do not enable macros. > > > > Commit 0df6c8c157af9 ("BaseTools/tools_def AARCH64: > > avoid SIMD registers in XIP code") > > adds -mgeneral-regs-only to GCC_AARCH64_CC_XIPFLAGS, in order to avoid > a bug present in certain versions of GCC. > > This was never a problem for clang. > > That's given the history of what the problem is. > > Then we can describe how we fix it: > > Change *_CLANGDWARF_AARCH64_CC_XIPFLAGS to set the required > -mstrict-align option instead of importing the whole GCC variable. > > > > Signed-off-by: Yeping Song > > Cc: Rebecca Cran > > Cc: Liming Gao > > Cc: Bob Feng > > Cc: Yuwei Chen > > Cc: Ard Biesheuvel > > Cc: Leif Lindholm > > Cc: Sami Mujawar > > --- > > BaseTools/Conf/tools_def.template | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/BaseTools/Conf/tools_def.template > b/BaseTools/Conf/tools_def.template > > index 5bd5283655ea..c34ecfd557c5 100755 > > --- a/BaseTools/Conf/tools_def.template > > +++ b/BaseTools/Conf/tools_def.template > > @@ -2015,7 +2015,7 @@ DEFINE CLANGDWARF_AARCH64_DLINK_FLAGS > =3D DEF(CLANGDWARF_AARCH64_TARGET) DEF(GCC_ > > *_CLANGDWARF_AARCH64_RC_FLAGS =3D > DEF(GCC_AARCH64_RC_FLAGS) DEF(GCC_AARCH64_RC_BTI_FLAGS) > > *_CLANGDWARF_AARCH64_VFRPP_FLAGS =3D > DEF(GCC_VFRPP_FLAGS) DEF(CLANGDWARF_AARCH64_TARGET) > $(PLATFORM_FLAGS) > > *_CLANGDWARF_AARCH64_ASLPP_FLAGS =3D > DEF(GCC_ASLPP_FLAGS) DEF(CLANGDWARF_AARCH64_TARGET) > > -*_CLANGDWARF_AARCH64_CC_XIPFLAGS =3D > DEF(GCC_AARCH64_CC_XIPFLAGS) > > +*_CLANGDWARF_AARCH64_CC_XIPFLAGS =3D -mstrict-align > > > > DEBUG_CLANGDWARF_AARCH64_CC_FLAGS =3D > DEF(CLANGDWARF_AARCH64_CC_FLAGS) $(PLATFORM_FLAGS) -flto -O1 > > DEBUG_CLANGDWARF_AARCH64_DLINK_FLAGS =3D > DEF(CLANGDWARF_AARCH64_DLINK_FLAGS) -flto -Wl,-O1 -fuse-ld=3Dlld > -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 > -Wl,-plugin-opt=3D-pass-through=3D-llto-aarch64 -Wl,--no-pie,--no-relax > > -- > > 2.25.1 > > > > > > > > > > > > >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110978): https://edk2.groups.io/g/devel/message/110978 Mute This Topic: https://groups.io/mt/102485456/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-