Messages in this thread | | | Date | Tue, 19 Dec 2023 17:39:56 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v4 1/3] RAS: Introduce AMD Address Translation Library |
| |
On Mon, Dec 18, 2023 at 01:04:04PM -0600, Yazen Ghannam wrote: > +unsigned long norm_to_sys_addr(u8 socket_id, u8 die_id, u8 coh_st_inst_id, unsigned long addr) > +{ > + struct addr_ctx ctx; > + > + if (df_cfg.rev == UNKNOWN) > + return -EINVAL;
Right, I know I suggested this but, will we ever have valid system physical addresses in the range of
0xfffffffffffff001 (-MAX_ERRNO) - 0xffffffffffffffff (-EPERM)
?
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |