On Fri, Jul 05, 2019 at 03:29:39PM +1000, Nicholas Piggin wrote:
Okay. It might be possible to save the address in the kernel and
then notify the driver afterward. For user-mode and any non-atomic
user copy AFAIK the irq_work should practically run synchronously
after the machine check returns so
Reza Arbab's on July 5, 2019 12:50 pm:
> On Thu, Jul 04, 2019 at 12:36:18PM +1000, Nicholas Piggin wrote:
>>Reza Arbab's on July 4, 2019 3:20 am:
>>> Since the notifier chain is actually part of the decision between (1)
>>> and (2), it's a hard limitation then that callbacks be in real address
>>>
On Thu, Jul 04, 2019 at 12:36:18PM +1000, Nicholas Piggin wrote:
Reza Arbab's on July 4, 2019 3:20 am:
Since the notifier chain is actually part of the decision between (1)
and (2), it's a hard limitation then that callbacks be in real address
space. Is there any way to structure things so that'
Reza Arbab's on July 4, 2019 3:20 am:
> On Tue, Jul 02, 2019 at 04:17:11PM +1000, Nicholas Piggin wrote:
>>Santosh Sivaraj's on July 2, 2019 3:19 pm:
>>> --- a/arch/powerpc/kernel/exceptions-64s.S
>>> +++ b/arch/powerpc/kernel/exceptions-64s.S
>>> @@ -458,6 +458,12 @@ EXC_COMMON_BEGIN(machine_check
On Tue, Jul 02, 2019 at 04:17:11PM +1000, Nicholas Piggin wrote:
Santosh Sivaraj's on July 2, 2019 3:19 pm:
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -458,6 +458,12 @@ EXC_COMMON_BEGIN(machine_check_handle_early)
bl machine_check_early
On 7/2/19 11:47 AM, Nicholas Piggin wrote:
> Santosh Sivaraj's on July 2, 2019 3:19 pm:
>> From: Reza Arbab
>>
>> Signed-off-by: Reza Arbab
>> ---
>> arch/powerpc/kernel/exceptions-64s.S | 6 ++
>> arch/powerpc/kernel/mce.c| 2 ++
>> 2 files changed, 8 insertions(+)
>>
>> diff --
Santosh Sivaraj's on July 2, 2019 3:19 pm:
> From: Reza Arbab
>
> Signed-off-by: Reza Arbab
> ---
> arch/powerpc/kernel/exceptions-64s.S | 6 ++
> arch/powerpc/kernel/mce.c| 2 ++
> 2 files changed, 8 insertions(+)
>
> diff --git a/arch/powerpc/kernel/exceptions-64s.S
> b/arch
From: Reza Arbab
Signed-off-by: Reza Arbab
---
arch/powerpc/kernel/exceptions-64s.S | 6 ++
arch/powerpc/kernel/mce.c| 2 ++
2 files changed, 8 insertions(+)
diff --git a/arch/powerpc/kernel/exceptions-64s.S
b/arch/powerpc/kernel/exceptions-64s.S
index c83e38a403fd..311f1392a2