From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] [PATCH] ArmPlatformPkg/PL011UartLib: Add PCD for FIFO depth To: Ard Biesheuvel ,devel@edk2.groups.io From: "Irene Park" X-Originating-Location: Apex, North Carolina, US (173.95.172.39) X-Originating-Platform: Windows Chrome 83 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 08 Jun 2020 07:47:06 -0700 References: In-Reply-To: Message-ID: <1266.1591627626574447386@groups.io> Content-Type: multipart/alternative; boundary="iSLDQLB9PN40Cd3cQBD2" --iSLDQLB9PN40Cd3cQBD2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Ard, I feel bad that I confused you. I'll update the commit message later. SBSA spec doesn't "mandate" that the optional registers such as PID2 are p= resent in a UART compliant to PL011. Therefore this register access to PID2 will generate a fault onto SOC when= its UART doesn't provide such registers. PID2 is used to determine the FIFO depth in the library so I'd like to pro= pose a new PCD to define a FIFO depth. Thank you, Irene --iSLDQLB9PN40Cd3cQBD2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Ard,
I feel bad that I confused you. I'll update the commit message= later.
SBSA spec doesn't "mandate" that the optional registers such a= s PID2 are present in a UART compliant to PL011.
Therefore this regist= er access to PID2 will generate a fault onto SOC when its UART doesn't prov= ide such registers.
PID2 is used to determine the FIFO depth in the li= brary so I'd like to propose a new PCD to define a FIFO depth.
Thank y= ou,
Irene --iSLDQLB9PN40Cd3cQBD2--