Re: [RFC/RFT PATCH 0/6] Switch GHES ioremap_page_range() to use fixmap

2017-11-09 Thread Zhengqiang
On 2017/10/31 23:38, James Morse wrote: > GHES is doing ioremap_page_range() in both NMI and irq context, neither > are safe as it may sleep to allocate intermediate levels of page table. > > Replace the NMI/irq GHES_IOREMAP_PAGES to use a fixmap entry each. > > After this nothing uses ghes_ior

Re: [PATCH] Bug fix: Clear ack of GHES table which contain wrong Error status block, let new error can fill GHES table.

2017-10-31 Thread Zhengqiang
Hi, Tyler Baicar, Sorry, i missed your patch, you already solved it. thanks. On 2017/10/30 21:53, Tyler Baicar wrote: > On 10/29/2017 9:23 PM, Qiang Zheng wrote: >> Current Error status block processing flow, if wrong format is checked, >> GHES table ack is not cleared. >> It will cause new error

Re: [PATCH V8 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-02-14 Thread Zhengqiang
goto err_edac_unreg; > + break; > case ACPI_HEST_NOTIFY_NMI: > ghes_nmi_add(ghes); > break; > @@ -1119,6 +1180,9 @@ static int ghes_remove(struct platform_device *ghes_dev) > unregister_acpi_hed_notifier(&ghes_notifier_sci); > mutex_unlock(&ghes_list_mutex); > break; > + case ACPI_HEST_NOTIFY_SEA: > + ghes_sea_remove(ghes); > + break; > case ACPI_HEST_NOTIFY_NMI: > ghes_nmi_remove(ghes); > break; > diff --git a/include/acpi/ghes.h b/include/acpi/ghes.h > index 6ae318b..adf5455 100644 > --- a/include/acpi/ghes.h > +++ b/include/acpi/ghes.h > @@ -95,3 +95,5 @@ static inline void *acpi_hest_generic_data_payload(struct > acpi_hest_generic_data > (void *)(((struct acpi_hest_generic_data_v300 *)(gdata)) + 1) : > gdata + 1; > } > + > +void ghes_notify_sea(void); > Thanks, Zhengqiang