Re: [PATCH] armv8: Fix TCR 64-bit writes

2022-06-07 Thread Andre Przywara
On Mon, 6 Jun 2022 23:00:08 +0200 (CEST) Mark Kettenis wrote: Hi Mark, > > From: Andre Przywara > > Date: Mon, 9 May 2022 17:08:49 +0100 > > > > The AArch64 TCR_ELx register is a 64-bit register, and many newer > > architecture features use bits in the upper half. So far U-Boot was > > igoran

Re: [PATCH] armv8: Fix TCR 64-bit writes

2022-06-06 Thread Mark Kettenis
> From: Andre Przywara > Date: Mon, 9 May 2022 17:08:49 +0100 > > The AArch64 TCR_ELx register is a 64-bit register, and many newer > architecture features use bits in the upper half. So far U-Boot was > igorant of those bits, trying to leave them alone. > However, in an effort to set bit 31 to

Re: [PATCH] armv8: Fix TCR 64-bit writes

2022-06-03 Thread Tom Rini
On Mon, May 09, 2022 at 05:08:49PM +0100, Andre Przywara wrote: > The AArch64 TCR_ELx register is a 64-bit register, and many newer > architecture features use bits in the upper half. So far U-Boot was > igorant of those bits, trying to leave them alone. > However, in an effort to set bit 31 to 1,

Re: [PATCH] armv8: Fix TCR 64-bit writes

2022-05-27 Thread Peter Collingbourne
On Tue, May 10, 2022 at 12:56 AM Peng Fan wrote: > > > Subject: [PATCH] armv8: Fix TCR 64-bit writes > > > > The AArch64 TCR_ELx register is a 64-bit register, and many newer > > architecture > > features use bits in the upper half. So far U-Boot was igorant

RE: [PATCH] armv8: Fix TCR 64-bit writes

2022-05-10 Thread Peng Fan
> Subject: [PATCH] armv8: Fix TCR 64-bit writes > > The AArch64 TCR_ELx register is a 64-bit register, and many newer architecture > features use bits in the upper half. So far U-Boot was igorant of those bits, > trying to leave them alone. > However, in an effort to set bit

[PATCH] armv8: Fix TCR 64-bit writes

2022-05-09 Thread Andre Przywara
The AArch64 TCR_ELx register is a 64-bit register, and many newer architecture features use bits in the upper half. So far U-Boot was igorant of those bits, trying to leave them alone. However, in an effort to set bit 31 to 1, it failed doing so, because the compiler sign-extended "1 << 31", so tha