[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231219163956.GTZYHHXG0rSNKZyIOd@fat_crate.local>
Date: Tue, 19 Dec 2023 17:39:56 +0100
From: Borislav Petkov <bp@...en8.de>
To: Yazen Ghannam <yazen.ghannam@....com>
Cc: linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
avadhut.naik@....com, tony.luck@...el.com, john.allen@....com,
william.roche@...cle.com, muralidhara.mk@....com
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
Powered by blists - more mailing lists