[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support
From: |
Alexey Kardashevskiy |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support |
Date: |
Wed, 04 Jun 2014 19:39:05 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 06/04/2014 07:33 PM, Peter Maydell wrote:
> On 4 June 2014 10:30, Alexey Kardashevskiy <address@hidden> wrote:
>> On 06/04/2014 07:16 PM, Peter Maydell wrote:
>>> On 4 June 2014 09:08, Alexey Kardashevskiy <address@hidden> wrote:
>>>> This adds an NMI handler per CPUs. x86, s390 and ppc CPUS are supported.
>>>>
>>>> The change to existing behaviour is that x86 only delivers NMI to
>>>> the current monitored CPU now, not to every CPU.
>>>
>>> So this series means that the "nmi" command and handler does
>>> * NMI on x86
>>> * reset on PPC
>>
>> The vector is called "reset" but it is an interrupt, and I do not see any
>> way to mask it.
>>
>>> * restart on S390
>>
>> The vector is called "restart" but it is still an interrupt.
>
> So? ARM has an interrupt called "NMI" but there's zero reason
> you'd want to poke it from the monitor, any more than you'd
> want to try to hand-send any other kind of interrupt.
>
>>> That doesn't seem generic at all, and suggests this should
>>> not be a common CPU method/callback.
>>
>> Oh. Ok. Suggestions?
>
> I dunno. What are you actually trying to achieve?
I personally want to get XMON (in-kernel debugger) on PPC.
--
Alexey
- [Qemu-ppc] [PATCH v3 0/4] cpus: Add generic NMI support, Alexey Kardashevskiy, 2014/06/04
- [Qemu-ppc] [PATCH v3 1/4] cpus: Define NMI callback, Alexey Kardashevskiy, 2014/06/04
- [Qemu-ppc] [PATCH v3 4/4] target-ppc: Add support for new nmi() CPU callback, Alexey Kardashevskiy, 2014/06/04
- [Qemu-ppc] [PATCH v3 2/4] target-s390x: Migrate to new nmi() CPU callback, Alexey Kardashevskiy, 2014/06/04
- [Qemu-ppc] [PATCH v3 3/4] target-i386: Migrate to new nmi() CPU callback, Alexey Kardashevskiy, 2014/06/04
- Re: [Qemu-ppc] [PATCH v3 0/4] cpus: Add generic NMI support, Paolo Bonzini, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Peter Maydell, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Alexey Kardashevskiy, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Peter Maydell, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Alexander Graf, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support,
Alexey Kardashevskiy <=
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Paolo Bonzini, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Peter Maydell, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Alexander Graf, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Greg Kurz, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Cornelia Huck, 2014/06/04
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Alexey Kardashevskiy, 2014/06/04