[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 4/4] ARM: exynos4210_pmu: Add software reset
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 4/4] ARM: exynos4210_pmu: Add software reset support |
Date: |
Mon, 23 Jul 2012 12:05:48 +0100 |
On 23 July 2012 12:01, Maksim Kozlov <address@hidden> wrote:
> 20.07.2012 18:32, Peter Maydell пишет:
>> This patch seems to be trying to make a distinction that QEMU doesn't
>> support, ie between system wide "software reset" and system wide
>> "hard reset". I'm not convinced about the wisdom of trying to paper
>> over this lack with a single-device workaround.
>
> Peter, if we add callback (*swreset)() into DeviceClass, whether it will be
> an acceptable solution? And devices which have different behavior during
> swreset can register different function for that. What do you think about
> this?
I think reset is a key part of device lifecycle and adding support
for 'warm reset' or whatever needs general discussion so we can get
the semantics right... cc'ing a couple of people who might have opinions.
-- PMM