Re: [PATCH v12 2/6] arm64: add support for ARCH_HAS_COPY_MC

2024-08-20 Thread Tong Tiangen
在 2024/8/20 17:12, Mark Rutland 写道: On Tue, Aug 20, 2024 at 10:11:45AM +0800, Tong Tiangen wrote: 在 2024/8/20 1:29, Mark Rutland 写道: Hi Tong, On Tue, May 28, 2024 at 04:59:11PM +0800, Tong Tiangen wrote: For the arm64 kernel, when it processes hardware memory errors for synchronize notific

Re: [PATCH v12 2/6] arm64: add support for ARCH_HAS_COPY_MC

2024-08-20 Thread Mark Rutland
On Tue, Aug 20, 2024 at 10:11:45AM +0800, Tong Tiangen wrote: > 在 2024/8/20 1:29, Mark Rutland 写道: > > Hi Tong, > > > > On Tue, May 28, 2024 at 04:59:11PM +0800, Tong Tiangen wrote: > > > For the arm64 kernel, when it processes hardware memory errors for > > > synchronize notifications(do_sea()),

Re: [PATCH v12 2/6] arm64: add support for ARCH_HAS_COPY_MC

2024-08-19 Thread Tong Tiangen
在 2024/8/19 18:30, Jonathan Cameron 写道: On Tue, 28 May 2024 16:59:11 +0800 Tong Tiangen wrote: For the arm64 kernel, when it processes hardware memory errors for synchronize notifications(do_sea()), if the errors is consumed within the kernel, the current processing is panic. However, it is

Re: [PATCH v12 2/6] arm64: add support for ARCH_HAS_COPY_MC

2024-08-19 Thread Tong Tiangen
在 2024/8/20 1:29, Mark Rutland 写道: Hi Tong, On Tue, May 28, 2024 at 04:59:11PM +0800, Tong Tiangen wrote: For the arm64 kernel, when it processes hardware memory errors for synchronize notifications(do_sea()), if the errors is consumed within the kernel, the current processing is panic. Howe

Re: [PATCH v12 2/6] arm64: add support for ARCH_HAS_COPY_MC

2024-08-19 Thread Mark Rutland
Hi Tong, On Tue, May 28, 2024 at 04:59:11PM +0800, Tong Tiangen wrote: > For the arm64 kernel, when it processes hardware memory errors for > synchronize notifications(do_sea()), if the errors is consumed within the > kernel, the current processing is panic. However, it is not optimal. > > Take c

Re: [PATCH v12 2/6] arm64: add support for ARCH_HAS_COPY_MC

2024-08-19 Thread Jonathan Cameron
On Tue, 28 May 2024 16:59:11 +0800 Tong Tiangen wrote: > For the arm64 kernel, when it processes hardware memory errors for > synchronize notifications(do_sea()), if the errors is consumed within the > kernel, the current processing is panic. However, it is not optimal. > > Take copy_from/to_use