@@ -267,7 +267,7 @@ static inline int ghes_severity(int severity)
}
}
-static void ghes_copy_tofrom_phys(void *buffer, phys_addr_t paddr, u32 len,
+static void ghes_copy_tofrom_phys(void *buffer, u64 paddr, u32 len,
int from_phys, int fixmap_idx)
{
void __iomem *vaddr;
@@ -292,7 +292,7 @@ static void ghes_copy_tofrom_phys(void *buffer, phys_addr_t
paddr, u32 len,
/* read the CPER block returning its address and size */
static int ghes_peek_estatus(struct ghes *ghes, int fixmap_idx,
- phys_addr_t *buf_paddr, u32 *buf_len)
+ u64 *buf_paddr, u32 *buf_len)
{
struct acpi_hest_generic *g = ghes->generic;