On 5/16/11, andrzej zaborowski wrote:
> On 16 May 2011 06:54, Dmitry Eremin-Solenikov wrote:
>> Hello,
>>
>> On 5/16/11, andrzej zaborowski wrote:
>>> On 25 April 2011 11:06, Dmitry Eremin-Solenikov
>>> wrote:
>>>> Switch dsc
On 5/16/11, andrzej zaborowski wrote:
> Hi Dmitry,
>
> On 25 April 2011 11:06, Dmitry Eremin-Solenikov
> wrote:
>> Convert PCMCIA bus handling code to use QBus internally.
>> MicroDrive code is still unaffected.
>>
>> Signed-off-by: Dmitry Eremin-Solenikov
Hello,
On 5/16/11, andrzej zaborowski wrote:
> On 25 April 2011 11:06, Dmitry Eremin-Solenikov
> wrote:
>> Switch dscm1 microdrive driver to use qdev infrastructure.
>> ---
>> hw/ide/microdrive.c | 49
>> +++--
Hello, colleagues,
On 4/29/11, Dmitry Eremin-Solenikov wrote:
> Hello,
>
> Any chance to get any response for this patches serie?
Still no response at all. Is there anything wrong with my approach? Is there
any problem with patch format? Am I just being ignored?
> On 4/25/11, D
Hello,
Any chance to get any response for this patches serie?
On 4/25/11, Dmitry Eremin-Solenikov wrote:
> Use qdev insfrastructure for managing PXA PCMCIA devices. PCMCIA bus
> itself isn't converted to QBus (yet). pxa2xx_pcmcia_init() function is
> moved to pcmcia.h as it w
Add PCMCIA support to StrongARM SoCs reusing PXA devices.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/strongarm.c |5 -
hw/strongarm.h |1 +
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/hw/strongarm.c b/hw/strongarm.c
index de08bdf..dbc253c 100644
--- a/hw
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/collie.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hw/collie.c b/hw/collie.c
index 156404d..89d37f7 100644
--- a/hw/collie.c
+++ b/hw/collie.c
@@ -14,6 +14,9 @@
#include "flash.h"
#include &
Currently it's done by hw/ide/microdrive.c To simplify that part,
move this initialization to ide core.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/ide/core.c |4
hw/ide/internal.h |2 ++
hw/ide/microdrive.c |6 +-
3 files changed, 7 insertions(+), 5 dele
Signed-off-by: Dmitry Eremin-Solenikov
last commit fixup
Signed-off-by: Dmitry Eremin-Solenikov
Revert "microdrive fixup"
This reverts commit 6a9f969b0626e218ff910d84ed1c9eec285cbcd5.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/ide/microdriv
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c
index 6ae8c8c..dc44864 100644
--- a/hw/pxa2xx.c
+++ b/hw/pxa2xx.c
@@ -2176,8 +2176,8 @@ PXA2xxState *pxa270_init(unsigned int sdram_size
Make attach and detach calls to be automatically called by PCMCIA card
instantiation code, rather than calling them by hand from the board
code.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pcmcia.c| 45 +++-
hw/pcmcia.h|2 +
hw/pxa.h
Switch dscm1 microdrive driver to use qdev infrastructure.
---
hw/ide/microdrive.c | 49 +++--
hw/pcmcia.h |2 +-
hw/spitz.c |5 -
hw/tosa.c |5 -
4 files changed, 48 insertions(+), 13 deletions(-)
di
Convert PCMCIA bus handling code to use QBus internally.
MicroDrive code is still unaffected.
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.objs |3 ++
hw/pcmcia.c| 102
hw/pcmcia.h| 15 +++-
hw
Use qdev insfrastructure for managing PXA PCMCIA devices. PCMCIA bus
itself isn't converted to QBus (yet). pxa2xx_pcmcia_init() function is
moved to pcmcia.h as it will be used by other cores/devices (like
StrongARM).
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mainstone.c |
Hello,
On 4/11/11, Dmitry Eremin-Solenikov wrote:
> Please pull the following changeset that makes PCMCIA subsystem to use
> QBus and Qdev for managing devices. Currently the only implementation
> of PCMCIA host is a PXA2xx host and the only possible PCMCIA device is
> IDE MicroDriv
On 4/20/11, Aurelien Jarno wrote:
> On Tue, Apr 19, 2011 at 06:56:45PM +0400, Dmitry Eremin-Solenikov wrote:
>> Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
>> Implemented:
>> - IRQs
>> - GPIO
>> - PPC
>> - RTC
>> - UART
* fixed new devices created with version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1600 +++
hw/strongarm.h | 64 ++
target-arm/cpu.h|3 +
target-arm/helper.c |9 +
5
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 69
On 4/18/11, Aurelien Jarno wrote:
> On Thu, Apr 14, 2011 at 10:18:02AM +0400, Dmitry Eremin-Solenikov wrote:
>> Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
>> Implemented:
>> - IRQs
>> - GPIO
>> - PPC
>> - RTC
>> - UART
Hi,
What about this serie of patches?
On 4/11/11, Dmitry Eremin-Solenikov wrote:
> Please pull the following changeset that makes PCMCIA subsystem to use
> QBus and Qdev for managing devices. Currently the only implementation
> of PCMCIA host is a PXA2xx host and the only possible PCMC
Hello,
What about this version of patches?
On 4/14/11, Dmitry Eremin-Solenikov wrote:
> Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
> Implemented:
> - IRQs
> - GPIO
> - PPC
> - RTC
> - UARTs (no IrDA/etc.)
> - OST reused from pxa25x
>
>
version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1587 +++
hw/strongarm.h | 64 ++
target-arm/cpu.h|3 +
target-arm/helper.c |9 +
5 files changed, 1664 insertions(+), 0
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 69
-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1581 +++
hw/strongarm.h | 64 ++
target-arm/cpu.h|3 +
target-arm/helper.c |9 +
5 files changed, 1658 insertions(+), 0 deletions(-)
create
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 69
Hello, please review next try for my StrongARM patches. SA has been enhanced
in the areas of RTC and UART drivers: I've added register bit names and used
them instead of various magic bits/bitmasks.
--
With best wishes
Dmitry
Hi,
On 4/10/11, Marek Vasut wrote:
> On Monday 04 April 2011 15:38:44 Dmitry Eremin-Solenikov wrote:
>> Currently target-arm/ assumes at least ARMv5 core. Add support for
>> handling also ARMv4/ARMv4T. This changes the following instructions:
>>
>> BX(v4T and later)
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c
index ef4c0a2..bcb42cf 100644
--- a/hw/pxa2xx.c
+++ b/hw/pxa2xx.c
@@ -,8 +,8 @@ PXA2xxState *pxa270_init(unsigned int sdram_size
Currently it's done by hw/ide/microdrive.c To simplify that part,
move this initialization to ide core.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/ide/core.c |4
hw/ide/internal.h |2 ++
hw/ide/microdrive.c |6 +-
3 files changed, 7 insertions(+), 5 dele
Use qdev insfrastructure for managing PXA PCMCIA devices. PCMCIA bus
itself isn't converted to QBus (yet). pxa2xx_pcmcia_init() function is
moved to pcmcia.h as it will be used by other cores/devices (like
StrongARM).
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mainstone.c |
Signed-off-by: Dmitry Eremin-Solenikov
last commit fixup
Signed-off-by: Dmitry Eremin-Solenikov
Revert "microdrive fixup"
This reverts commit 6a9f969b0626e218ff910d84ed1c9eec285cbcd5.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/ide/microdriv
Convert PCMCIA bus handling code to use QBus internally.
MicroDrive code is still unaffected.
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.objs |3 ++
hw/pcmcia.c| 102
hw/pcmcia.h| 15 +++-
hw
Switch dscm1 microdrive driver to use qdev infrastructure.
---
hw/ide/microdrive.c | 49 +++--
hw/pcmcia.h |2 +-
hw/spitz.c |5 -
hw/tosa.c |5 -
4 files changed, 48 insertions(+), 13 deletions(-)
di
Make attach and detach calls to be automatically called by PCMCIA card
instantiation code, rather than calling them by hand from the board
code.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pcmcia.c| 45 +++-
hw/pcmcia.h|2 +
hw/pxa.h
command line:
-device dscm1 -device ide-drive,drive=test -drive
if=none,id=test,file=/dev/null
Dmitry Eremin-Solenikov (7):
pxa2xx_pcmcia: qdevify
PCMCIA: start qdev'ication
microdrive: qdevify
pcmcia: move all card callbacks to PCMCIACardInfo
pcmcia: move a
On 4/6/11, Peter Maydell wrote:
> On 4 April 2011 14:38, Dmitry Eremin-Solenikov wrote:
>> Currently target-arm/ assumes at least ARMv5 core. Add support for
>> handling also ARMv4/ARMv4T. This changes the following instructions:
>
>> Signed-off-by: Dmitry Eremin-So
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 69
offset
* add SSP support
V2:
* removed all strongarm variants except latest
* dropped unused casts
* fixed PIC vmstate
* fixed new devices created with version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1539
5TE, those two cases are simply aliased (for now).
Patch is heavily based on patch by Filip Navara
which in turn is based on work by Ulrich Hecht and Vincent
Sanders .
Signed-off-by: Dmitry Eremin-Solenikov
---
target-arm/cpu.h |4 ++-
target-arm/helper.c| 29 +++
Please find the next iteration of the patches. Changes since previous release
are: fix for VMStateDescription of strongarm_uart, fixed RTSR reg. offset and
added emulation of strongarm SSP port. Also unused "(void) s;" statement was
dropped from hw/collie.c
On 4/4/11, Peter Maydell wrote:
> On 4 April 2011 13:15, Dmitry Eremin-Solenikov wrote:
>> +s = sa1110_init(collie_binfo.ram_size, cpu_model);
>> +(void) s;
>
> Is this "(void) s" needed now, or is it a leftover from before code to
> use s later in t
On 4/4/11, Peter Maydell wrote:
> On 4 April 2011 13:31, Dmitry Eremin-Solenikov wrote:
>> W/o this fix I'm getting the following error:
>> cc1: warnings being treated as errors
>> hw/usb-ccid.c: In function ‘ccid_card_card_error’:
>> hw/usb-ccid.c:1202:5: error:
W/o this fix I'm getting the following error:
cc1: warnings being treated as errors
hw/usb-ccid.c: In function ‘ccid_card_card_error’:
hw/usb-ccid.c:1202:5: error: format ‘%lX’ expects type ‘long unsigned int’, but
argument 2 has type ‘uint64_t’
Signed-off-by: Dmitry Eremin-Solenikov
--
5TE, those two cases are simply aliased (for now).
Patch is heavily based on patch by Filip Navara
which in turn is based on work by Ulrich Hecht and Vincent
Sanders .
Signed-off-by: Dmitry Eremin-Solenikov
---
target-arm/cpu.h |4 ++-
target-arm/helper.c| 28 +++
* dropped unused casts
* fixed PIC vmstate
* fixed new devices created with version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1301 +++
hw/strongarm.h | 62 +++
target-arm
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 70
On 4/3/11, Isaku Yamahata wrote:
> On Sat, Apr 02, 2011 at 06:47:37PM +0400, Dmitry Eremin-Solenikov wrote:
>> On 4/2/11, Isaku Yamahata wrote:
>> >> Have you verified that all bus devices have been qdevified since this
>> >> code has been added? I wouldn't
On 3/31/11, Dmitry Eremin-Solenikov wrote:
> On 3/30/11, Peter Maydell wrote:
>> On 30 March 2011 12:41, Dmitry Eremin-Solenikov
>> wrote:
>>> @@ -7172,10 +7210,7 @@ static void disas_arm_insn(CPUState * env,
>>> DisasContext *s)
>>>
; because sysbus_get_default() creates bus for main_system_bus and then
> set main_system_bus to it.
> So main_system_bus == NULL in qbus_create_inplace() when creating
> main_system_bus. So this patch fixes the check whether creating
> main_system_bus or not by seeing BusInfo.
>
On 3/30/11, Peter Maydell wrote:
> On 30 March 2011 12:41, Dmitry Eremin-Solenikov
> wrote:
>> @@ -7172,10 +7210,7 @@ static void disas_arm_insn(CPUState * env,
>> DisasContext *s)
>> }
>> if (insn & (1 << 20)) {
5TE, those two cases are simply aliased (for now).
Patch is heavily based on patch by Filip Navara
which in turn is based on work by Ulrich Hecht and Vincent
Sanders .
Signed-off-by: Dmitry Eremin-Solenikov
---
target-arm/cpu.h |4 ++-
target-arm/helper.c| 28 +++
* dropped unused casts
* fixed PIC vmstate
* fixed new devices created with version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1301 +++
hw/strongarm.h | 62 +++
target-arm
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 70
5TE, those two cases are simply aliased (for now).
Patch is heavily based on patch by Filip Navara
which in turn is based on work by Ulrich Hecht and Vincent
Sanders .
Signed-off-by: Dmitry Eremin-Solenikov
---
target-arm/cpu.h |4 +++-
target-arm/helper.c| 23 +++
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 70
* dropped unused casts
* fixed PIC vmstate
* fixed new devices created with version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1301 +++
hw/strongarm.h | 62 +++
target-arm
Hello,
On 3/27/11, Peter Maydell wrote:
> I've just gone through this distinguishing v5 sublevels.
> I've also gone back and looked up an older ARM ARM for any v5 vs
> v5T differences, and it looks like the only difference really is
> whether Thumb mode works: the ARM instruction set is exactly t
On 3/26/11, Peter Maydell wrote:
> On 26 March 2011 17:23, Dmitry Eremin-Solenikov
> wrote:
>> Can we assume (maybe temporarily) that all v5 are also v5TE?
>> It seems it's currently done so, and I don't want to be too intrusive.
>
> All the cores we currently m
On 3/25/11, Peter Maydell wrote:
> On 24 March 2011 22:07, Dmitry Eremin-Solenikov
> wrote:
>> Currently target-arm/ assumes at least ARMv5 core. Add support for
>> handling also ARMv4/ARMv4T. This changes the following instructions:
>
> Mostly looks good; comments belo
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 70
* dropped unused casts
* fixed PIC vmstate
* fixed new devices created with version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/strongarm.c | 1301 +++
hw/strongarm.h | 62 +++
target-arm
7TDMI), because:
* no ARM7TDMI chips are currently emulated (or planned)
* those features aren't strictly necessary for my purposes (SA-1 core
emulation).
Patch is heavily based on patch by Filip Navara
which in turn is based on work by Ulrich Hecht and Vincent
Sanders .
Signed-off-by: Dmi
On 3/24/11, Juan Quintela wrote:
> Dmitry Eremin-Solenikov wrote:
>> Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
>> Implemented:
>> - IRQs
>> - GPIO
>> - PPC
>> - RTC
>> - UARTs (no IrDA/etc.)
>> - OST reused from
* dropped unused casts
* fixed PIC vmstate
* fixed new devices created with version_id = 1
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |2 +
hw/strongarm.c | 1302 +++
hw/strongarm.h | 62 +++
target-arm
7TDMI), because:
* no ARM7TDMI chips are currently emulated (or planned)
* those features aren't strictly necessary for my purposes (SA-1 core
emulation).
Patch is heavily based on patch by Filip Navara
which in turn is based on work by Ulrich Hecht and Vincent
Sanders .
Signed-off-by: Dmi
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/collie.c | 70
Hello,
On 3/22/11, Peter Maydell wrote:
> On 22 March 2011 14:53, Dmitry Eremin-Solenikov
> wrote:
>
>> static inline int arm_feature(CPUARMState *env, int feature)
>> @@ -391,6 +392,19 @@ void cpu_arm_set_cp_io(CPUARMState *env, int cpnum,
>> #define ARM_C
Add very basic implementation of collie PDA emulation. The system lacks
LoCoMo and graphics/sound emulation. Linux kernel boots up to mounting
rootfs (theoretically it can be provided in pflash images).
Signed-off-by: Dmitry Eremin-Solenikov
---
Makefile.target |1 +
hw/collie.c | 70
Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
Implemented:
- IRQs
- GPIO
- PPC
- RTC
- UARTs (no IrDA/etc.)
- OST reused from pxa25x
Everything else is TODO (esp. PM/idle/sleep!) - see the todo in the
hw/strongarm.c
Signed-off-by: Dmitry Eremin-Solenikov
t yet created, it cannot be set), so the check is just
wrong.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/qdev.c |2 +-
vl.c |3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 1aa1ea0..0a3c8ce 100644
--- a/hw/qdev.c
+++ b/hw/q
Hello,
On 3/10/11, andrzej zaborowski wrote:
> On 4 March 2011 01:48, Dmitry Eremin-Solenikov wrote:
>> Init not only first displaystate, but all. Otherwise machines with
>> multiple display devices (e.g. tosa, as it exists now) will just
>> segfault on ds switch.
>&g
Extend mst_fpga and mainstone with logic to support PCMCIA
attachment (IRQs, status regs).
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mainstone.c |7 +++
hw/mst_fpga.c | 29 +++--
2 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/hw
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mainstone.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/mainstone.c b/hw/mainstone.c
index 4eabdb9..8970dd8 100644
--- a/hw/mainstone.c
+++ b/hw/mainstone.c
@@ -140,7 +140,7 @@ static void mainstone_common_init
Init not only first displaystate, but all. Otherwise machines with
multiple display devices (e.g. tosa, as it exists now) will just
segfault on ds switch.
Signed-off-by: Dmitry Eremin-Solenikov
---
vl.c | 104 +-
1 files changed
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/tc6393xb.c | 17 ++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/hw/tc6393xb.c b/hw/tc6393xb.c
index ed49e94..14847a9 100644
--- a/hw/tc6393xb.c
+++ b/hw/tc6393xb.c
@@ -126,7 +126,8 @@ struct TC6393xbState
Currently pxa2xx_pic init fails with error at sysbus_mmio_map(),
as there is no correspondent sysbus_init_mmio. Also move most of init to
pxa2xx_pic_initfn.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx_pic.c | 37 +++--
1 files changed, 19 insertions
vents to raise this irq.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx_timer.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/hw/pxa2xx_timer.c b/hw/pxa2xx_timer.c
index 0fbd4a8..effe653 100644
--- a/hw/pxa2xx_timer.c
+++ b/hw/pxa2xx_timer.c
@@ -94,6
On 2/25/11, andrzej zaborowski wrote:
> Hi Dmitry,
>
> On 20 February 2011 14:50, Dmitry Eremin-Solenikov
> wrote:
>> Use qdev/sysbus framework to handle pxa2xx-pic. Instead of exposing IRQs
>> via array, reference them via qdev_get_gpio_in(). Also pxa2xx_pic
>> du
t yet created, it cannot be set), so the check is just
wrong.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/qdev.c |2 +-
vl.c |3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 1aa1ea0..0a3c8ce 100644
--- a/hw/qdev.c
+++ b/hw/q
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa.h| 27 -
hw/pxa2xx.c | 173 ++-
2 files changed, 100 insertions(+), 100 deletions(-)
diff --git a/hw/pxa.h b/hw/pxa.h
index bad0556..6e2509a 100644
--- a/hw/pxa.h
+++ b/hw
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa.h | 14 ++--
hw/pxa2xx.c | 43 -
hw/pxa2xx_dma.c | 184 +++---
hw/pxa2xx_mmci.c | 16 +++--
4 files changed, 150 insertions(+), 107 deletions(-)
diff --git a/hw
It should be PXA2xxTimerInfo, not pxa2xx_timer_info. Replace all occurencies of
old name
with the new one.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx_timer.c | 28 ++--
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/hw/pxa2xx_timer.c b/hw
: Dmitry Eremin-Solenikov
---
hw/hw.h | 21 +
hw/pcie_aer.c | 12 +---
2 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
index b47a7c8..eec9c6b 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -499,6 +499,27 @@ extern const VMStateInfo
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx_dma.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/hw/pxa2xx_dma.c b/hw/pxa2xx_dma.c
index b512d34..92c3e1e 100644
--- a/hw/pxa2xx_dma.c
+++ b/hw/pxa2xx_dma.c
@@ -20,11 +20,7 @@ typedef struct {
int request
We can stop messing with CPUState directly, as we have special irq in arm_pic
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa.h |2 +-
hw/pxa2xx.c |6 --
hw/pxa2xx_gpio.c | 14 +-
3 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/hw/pxa.h
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa.h |4 -
hw/pxa2xx.c | 15 +++-
hw/pxa2xx_timer.c | 248 ++---
3 files changed, 155 insertions(+), 112 deletions(-)
diff --git a/hw/pxa.h b/hw/pxa.h
index c2dede2..142f094
This is a _TEST variant of VMSTATE_STRUCT_ARRAY, necessary e.g.
for future patch changing pxa2xx_timer to use vmstate.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/hw.h |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
index 5e24329..b47a7c8 100644
Some ARM processors (consider PXA2xx, Omap1, etc.) want to be able to send
CPU_INTERRUPT_EXITTB to the cpu. Support doing that through common arm_pic.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/arm-misc.h |1 +
hw/arm_pic.c |6 +-
2 files changed, 6 insertions(+), 1 deletions
Use qdev/sysbus framework to handle pxa2xx-pic. Instead of exposing IRQs
via array, reference them via qdev_get_gpio_in(). Also pxa2xx_pic duplicated
some code from arm-pic. Drop it, replacing with references to arm-pic,
as all other ARM SoCs do for their PIC code.
Signed-off-by: Dmitry Eremin
This series introduces another partial rework of pxa2xx to use qdev/vmstate
to handle subdevices.
Dmitry Eremin-Solenikov (10):
arm-pic: add one extra interrupt to support EXITTB interrupts
pxa2xx_pic: update to use qdev and arm-pic
pxa2xx_gpio: simplify by reusing wake irq from
Final corrections for IRQ levels that are set by mst_fpga:
* Don't retranslate IRQ if previously IRQ was masked.
* After setting or clearing IRQs through register, apply mask
before setting parent IRQ level.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mst_fpga.c |4 ++--
1
Hello,
On Wed, Feb 16, 2011 at 4:13 AM, andrzej zaborowski wrote:
> On 12 February 2011 01:15, Dmitry Eremin-Solenikov
> wrote:
>> Simplify IRQ handling to stop setting an input irq pin. As a win, also get
>> correct IRQ status after save/load cycle.
>
> Thanks, I pushe
On 2/4/11, Dmitry Eremin-Solenikov wrote:
> Init not only first displaystate, but all. Otherwise machines with
> multiple display devices (e.g. tosa, as it exists now) will just
> segfault on ds switch.
>
> Signed-off-by: Dmitry Eremin-Solenikov
What about these two patches?
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mainstone.c | 10 +++--
hw/mainstone.h |3 --
hw/mst_fpga.c | 96
3 files changed, 54 insertions(+), 55 deletions(-)
diff --git a/hw/mainstone.c b/hw/mainstone.c
index 18d1415
Now the only user of mainstone.h is mainstone.c file. Merge header
into board file.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mainstone.c | 23 ++-
hw/mainstone.h | 35 ---
2 files changed, 22 insertions(+), 36 deletions(-)
delete
Simplify IRQ handling to stop setting an input irq pin. As a win, also get
correct IRQ status after save/load cycle.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mst_fpga.c | 29 ++---
1 files changed, 10 insertions(+), 19 deletions(-)
diff --git a/hw/mst_fpga.c b/hw
On 2/11/11, andrzej zaborowski wrote:
> Hi Dmitry,
>
> On 31 January 2011 16:20, Dmitry Eremin-Solenikov
> wrote:
>> Signed-off-by: Dmitry Eremin-Solenikov
>> ---
>> hw/zaurus.c | 19 ++-
>> 1 files changed, 18 insertions(+), 1 deletions(-)
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/tc6393xb.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/tc6393xb.c b/hw/tc6393xb.c
index 2104d4e..ed49e94 100644
--- a/hw/tc6393xb.c
+++ b/hw/tc6393xb.c
@@ -380,7 +380,7 @@ static void tc6393xb_nand_writeb
1) Move GPIO-related functionality to qdev. Now one can use directly
qdev_get_gpio_in()/qdev_connect_gpio_out() on max7310 devices.
2) Make reset to be called through qdev.reset callback.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/i2c.h |5 -
hw/max7310.c | 26
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx.c | 53 ++---
1 files changed, 42 insertions(+), 11 deletions(-)
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c
index d966846..9ebbce6 100644
--- a/hw/pxa2xx.c
+++ b/hw/pxa2xx.c
@@ -1262,10 +1262,12
1 - 100 of 135 matches
Mail list logo