[Qemu-devel] [PATCH v14 2/6] ahci: add support for non-PCI based controllers

2012-01-23 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v10-v13 None Changes from v9 Changed typedef struct names to CamelCase Changes from v7, v8 None Changes from v5, v6

[Qemu-devel] [PATCH v14 1/6] Add xgmac ethernet model

2012-01-23 Thread Mark Langsdorf
From: Rob Herring This adds very basic support for the xgmac ethernet core. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH v14 4/6] arm_boot: support board IDs more than 16 bits wide

2012-01-23 Thread Mark Langsdorf
From: Peter Maydell Support passing a board ID value to the kernel in r1 that is more than 16 bits wide. This is needed to pass the '-1 == invalid' value for boards which only support device tree booting. Signed-off-by: Peter Maydell Tested-by: Mark Langsdorf --- Changes from v13

[Qemu-devel] [PATCH v14 6/6] arm: SoC model for Calxeda Highbank

2012-01-23 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v13 Removed no_vga parameter Really reverted board_id to -1 Changes from v12 Reverted board_id to -1. Added comments clarifying why

[Qemu-devel] [PATCH v14 5/6] arm: store the config_base_register during cpu_reset

2012-01-23 Thread Mark Langsdorf
Long term, the config_base_register will be a QDM parameter. In the meantime, models that use it need to be able to preserve it across cpu_reset() calls. Signed-off-by: Mark Langsdorf --- Changes from v13 Make save/restore unconditional Changes from v1-v12 Skipped target-arm

[Qemu-devel] [PATCH v14 3/6] arm: add secondary cpu boot callbacks to arm_boot.c

2012-01-23 Thread Mark Langsdorf
Create two functions, write_secondary_boot() and secondary_cpu_reset_hook(), to allow platforms more control of how secondary CPUs are brought up. The new functions default to NULL and aren't called unless they are populated so there are no changes to existing platform models. Signed-off-by:

[Qemu-devel] [PATCH v14 0/6] arm: add support for Calxeda Highbank

2012-01-23 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. Makefile.target |2 + hw/arm-misc.h | 17 ++ hw/arm_boot.c | 65 ++-- hw/highbank.c | 330 hw/ide/ahci.c | 44 ++ hw/xgmac.c | 421 +++

[Qemu-devel] [PATCH] MAINTAINERS: Add hw/highbank.c maintainer

2012-02-03 Thread Mark Langsdorf
Signed-off-by: Mark Langsdorf --- MAINTAINERS |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 173e893..bdc254f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -237,6 +237,11 @@ M: Peter Maydell S: Maintained F: hw/versatilepb.c

[Qemu-devel] [PATCH v2] MAINTAINERS: Add hw/highbank.c maintainer

2012-02-06 Thread Mark Langsdorf
Signed-off-by: Mark Langsdorf --- Changes from v1 Put entry in alphabetical order Added maintainership of hw/xgmac MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 173e893..74ee059 100644 --- a/MAINTAINERS

[Qemu-devel] [PATCH [0/9] various ARM fixes

2011-12-20 Thread Mark Langsdorf
This is a collection of patches that make minor fixes to the models for various ARM devices. --Mark Langsdorf Calxeda, Inc.

[Qemu-devel] [PATCH 2/9] Add trustzone support.

2011-12-20 Thread Mark Langsdorf
From: juha.riihim...@nokia.com Conflicts: target-arm/cpu.h target-arm/helper.c Signed-off-by: Mark Langsdorf --- target-arm/cpu.h |4 + target-arm/helper.c | 556 +- target-arm/machine.c |6 + 3 files changed

[Qemu-devel] [PATCH 4/9] arm: add dummy gic security registers

2011-12-20 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- hw/arm_gic.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/arm_gic.c b/hw/arm_gic.c index 9b52119..5974c2f 100644 --- a/hw/arm_gic.c +++ b/hw/arm_gic.c @@ -274,7 +274,7

[Qemu-devel] [PATCH 5/9] ahci: convert ahci_reset to use AHCIState

2011-12-20 Thread Mark Langsdorf
From: Rob Herring Use AHCIState instead of AHCIPCIState so the function can be used for non-PCI based AHCI controllers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- hw/ide/ahci.c | 14 +++--- hw/ide/ich.c |4 ++-- 2 files changed, 9 insertions(+), 9 deletions

[Qemu-devel] [PATCH 6/9] ahci: add support for non-PCI based controllers

2011-12-20 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- hw/ide/ahci.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 135d0ee..8b56509

[Qemu-devel] [PATCH 7/9] add L2x0/PL310 cache controller device

2011-12-20 Thread Mark Langsdorf
From: Rob Herring This is just a dummy device for ARM L2 cache controllers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Makefile.target |2 +- hw/arm_l2x0.c | 109 +++ 2 files changed, 110 insertions(+), 1

[Qemu-devel] [PATCH 8/9] Add xgmac ethernet model

2011-12-20 Thread Mark Langsdorf
This adds very basic support for xgmac block. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Makefile.target

[Qemu-devel] [PATCH 9/9] arm: Set frequencies for arm_timer

2011-12-20 Thread Mark Langsdorf
Use qdev properties to allow board modelers to set the frequencies for the sp804 timer. Each of the sp804's timers can have an individual frequency or they share the frequency by default. The timers default to 1MHz. Signed-off-by: Mark Langsdorf --- hw/arm_timer.c |

[Qemu-devel] [PATCH 3/9] arm: add missing v7 cp15 registers

2011-12-20 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Conflicts: target-arm/cpu.h target-arm/helper.c --- target-arm/cpu.h|1 + target-arm/helper.c |7 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/target-arm/cpu.h b

[Qemu-devel] [PATCH 1/9] arm: add missing scu registers

2011-12-20 Thread Mark Langsdorf
From: Rob Herring Add power control and non-secure access ctrl registers Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- hw/a9mpcore.c | 26 -- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/hw/a9mpcore.c b/hw/a9mpcore.c index cd2985f

Re: [Qemu-devel] [PATCH 4/9] arm: add dummy gic security registers

2011-12-20 Thread Mark Langsdorf
On 12/20/2011 01:58 PM, Peter Maydell wrote: > On 20 December 2011 19:11, Mark Langsdorf wrote: >> From: Rob Herring >> >> Signed-off-by: Rob Herring >> Signed-off-by: Mark Langsdorf >> --- >> hw/arm_gic.c | 10 -- >> 1 files changed, 8 i

Re: [Qemu-devel] [PATCH 3/9] arm: add missing v7 cp15 registers

2011-12-21 Thread Mark Langsdorf
On 12/20/2011 01:48 PM, Peter Maydell wrote: > On 20 December 2011 19:10, Mark Langsdorf wrote: >> diff --git a/target-arm/helper.c b/target-arm/helper.c >> index 816c4c4..37110bc 100644 >> --- a/target-arm/helper.c >> +++ b/target-arm/helper.c >> @@ -2197,6 +21

Re: [Qemu-devel] [PATCH 8/9] Add xgmac ethernet model

2011-12-21 Thread Mark Langsdorf
On 12/20/2011 02:24 PM, Peter Maydell wrote: > On 20 December 2011 19:15, Mark Langsdorf wrote: >> This adds very basic support for xgmac block. Missing things include: >> >> - statistics counters >> - WoL support >> - rx checksum offload >> - chained d

[Qemu-devel] [PATCH v2 4/9] arm: add dummy gic security registers

2011-12-22 Thread Mark Langsdorf
From: Rob Herring Implement handling for the RAZ/WI gic security registers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1 Moved handling back inside the 0-0x100 block Added more clarifying comments hw/arm_gic.c |6 ++ 1 files changed, 6

[Qemu-devel] [PATCH v2 2/9] arm: Set frequencies for arm_timer

2011-12-22 Thread Mark Langsdorf
Use qdev properties to allow board modelers to set the frequencies for the sp804 timer. Each of the sp804's timers can have an individual frequency. The timers default to 1MHz. Signed-off-by: Mark Langsdorf --- Changes from v1 Simplified multiple timer frequency handling Re

[Qemu-devel] [PATCH v2 0/9] various ARM fixes

2011-12-22 Thread Mark Langsdorf
This is a collection of fixes and additions to the models for various ARM devices. These changes are needed to support the forthcoming Calxeda Highbank SoC model. Makefile.target |2 + hw/a9mpcore.c | 36 - hw/arm_gic.c|6 + hw/arm_l2x0.c | 173 +++

[Qemu-devel] [PATCH 6/9] ahci: add support for non-PCI based controllers

2011-12-22 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- hw/ide/ahci.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 135d0ee..8b56509 100644

[Qemu-devel] [PATCH v2 8/9] Add xgmac ethernet model

2011-12-22 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH v2 1/9] arm: add missing scu registers

2011-12-22 Thread Mark Langsdorf
From: Rob Herring Add power control and non-secure access ctrl registers Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1: Added VMState support Checked alignment of writes to the power control register hw/a9mpcore.c | 34

[Qemu-devel] [PATCH 9/9] arm: increase a9mp interrupts to 160

2011-12-22 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- hw/a9mpcore.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/a9mpcore.c b/hw/a9mpcore.c index 875ae98..93b0498 100644 --- a/hw/a9mpcore.c +++ b/hw/a9mpcore.c @@ -13,7 +13,7

[Qemu-devel] [PATCH v2 3/9] arm: add dummy v7 cp15 config_base_register

2011-12-22 Thread Mark Langsdorf
Add a cp15 config_base_register that currently defaults to 0. After the QOM CPU support is added, the value will be properly set to the periphal base value. Signed-off-by: Mark Langsdorf --- Changes from v1 renamed the register added comments about how it will change when QOM

[Qemu-devel] [PATCH 5/9] ahci: convert ahci_reset to use AHCIState

2011-12-22 Thread Mark Langsdorf
From: Rob Herring Use AHCIState instead of AHCIPCIState so the function can be used for non-PCI based AHCI controllers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- hw/ide/ahci.c | 14 +++--- hw/ide/ich.c |4 ++-- 2 files changed, 9 insertions(+), 9 deletions

[Qemu-devel] [PATCH v2 7/9] add L2x0/PL310 cache controller device

2011-12-22 Thread Mark Langsdorf
From: Rob Herring This is just a dummy device for ARM L2 cache controllers, based on the pl310. The cache type parameter can be defined by a property value and has a meaningful default. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1 Corrected formatting

[Qemu-devel] [PATCH v3 0/9] various arm fixes

2011-12-27 Thread Mark Langsdorf
This is a collection of fixes and additions to the models for various ARM devices. These changes are needed to support the forthcoming Calxeda Highbank SoC model. Makefile.target |2 + hw/a9mpcore.c | 45 +- hw/arm11mpcore.c|2 +- hw/arm_gic.c| 46 --- hw

[Qemu-devel] [PATCH v3 3/9] arm: add dummy v7 cp15 config_base_register

2011-12-27 Thread Mark Langsdorf
Add a cp15 config_base_register that currently defaults to 0. After the QOM CPU support is added, the value will be properly set to the periphal base value. Signed-off-by: Mark Langsdorf --- Changes from v2 Added test against op2 hanges from v1 renamed the register added

[Qemu-devel] [PATCH v3 6/9] ahci: add support for non-PCI based controllers

2011-12-27 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single structure, not a list hw/ide/ahci.c | 31

[Qemu-devel] [PATCH v3 4/9] arm: add dummy gic security registers

2011-12-27 Thread Mark Langsdorf
From: Rob Herring Implement handling for the RAZ/WI gic security registers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v2 None Changes from v1 Moved handling back inside the 0-0x100 block Added more clarifying

[Qemu-devel] [PATCH v3 9/9] arm: make number of a9mpcore GIC interrupts configurable

2011-12-27 Thread Mark Langsdorf
Increase the maximum number of GIC interrupts for a9mp to 192, and create a configurable property defaulting to 96 so that device modelers can set the value appropriately for their SoC. Signed-off-by: Mark Langsdorf --- Changes from v2 Skipped Changes from v1 Increase the number

[Qemu-devel] [PATCH v3 7/9] add L2x0/PL310 cache controller device

2011-12-27 Thread Mark Langsdorf
From: Rob Herring This is just a dummy device for ARM L2 cache controllers, based on the pl310. The cache type parameter can be defined by a property value and has a meaningful default. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v2 Reformatted a couple

[Qemu-devel] [PATCH v3 1/9] arm: add missing scu registers

2011-12-27 Thread Mark Langsdorf
From: Rob Herring Add power control register to a9mpcore Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v2: Better handling of byte and halfword writes to the power register Correct handling of VMState versions Improved commit message Changes

[Qemu-devel] [PATCH v3 2/9] arm: Set frequencies for arm_timer

2011-12-27 Thread Mark Langsdorf
Use qdev properties to allow board modelers to set the frequencies for the sp804 timer. Each of the sp804's timers can have an individual frequency. The timers default to 1MHz. Signed-off-by: Mark Langsdorf --- Changes from v2 Comment correctly describes behavior of prope

[Qemu-devel] [PATCH v3 5/9] ahci: convert ahci_reset to use AHCIState

2011-12-27 Thread Mark Langsdorf
From: Rob Herring Use AHCIState instead of AHCIPCIState so the function can be used for non-PCI based AHCI controllers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1, v2 None hw/ide/ahci.c | 14 +++--- hw/ide/ich.c |4 ++-- 2 files

[Qemu-devel] [PATCH v3 8/9] Add xgmac ethernet model

2011-12-27 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

Re: [Qemu-devel] [PATCH v3 9/9] arm: make number of a9mpcore GIC interrupts configurable

2011-12-27 Thread Mark Langsdorf
On 12/27/2011 03:59 PM, Peter Maydell wrote: > On 27 December 2011 20:13, Mark Langsdorf wrote: >> Increase the maximum number of GIC interrupts for a9mp to 192, and >> create a configurable property defaulting to 96 so that device >> modelers can set the value approp

Re: [Qemu-devel] [PATCH v3 5/9] ahci: convert ahci_reset to use AHCIState

2011-12-27 Thread Mark Langsdorf
On 12/27/2011 04:54 PM, Peter Maydell wrote: > On 27 December 2011 20:13, Mark Langsdorf wrote: >> From: Rob Herring >> >> Use AHCIState instead of AHCIPCIState so the function can be used for >> non-PCI based AHCI controllers. >> >> Signed-off-by: Rob He

[Qemu-devel] [PATCH v4 0/7] various ARM fixes

2011-12-27 Thread Mark Langsdorf
This is a collection of fixes and additions to the models for various ARM devices. These changes are needed to support the forthcoming Calxeda Highbank SoC model. Makefile.target |2 + hw/a9mpcore.c | 43 +- hw/arm11mpcore.c| 14 +- hw/arm_gic.c| 63 +---

[Qemu-devel] [PATCH v4 1/7] arm: add missing scu registers

2011-12-27 Thread Mark Langsdorf
From: Rob Herring Add power control register to a9mpcore Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v3 None Changes from v2: Better handling of byte and halfword writes to the power register Correct handling of

[Qemu-devel] [PATCH v4 7/7] arm: make the number of GIC interrupts configurable

2011-12-27 Thread Mark Langsdorf
appropriately. Set the maximum theoretically number of GIC interrupts to 1020 and update the save/restore code to only use the appropriate number for each SoC. Signed-off-by: Mark Langsdorf --- Changes from v3 Increase maximum number of GIC interrupts to 1020 Remove SoC/implementation

[Qemu-devel] [PATCH v4 4/7] arm: add dummy gic security registers

2011-12-27 Thread Mark Langsdorf
From: Rob Herring Implement handling for the RAZ/WI gic security registers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v2, v3 None Changes from v1 Moved handling back inside the 0-0x100 block Added more

[Qemu-devel] [PATCH v4 2/7] arm: Set frequencies for arm_timer

2011-12-27 Thread Mark Langsdorf
Use qdev properties to allow board modelers to set the frequencies for the sp804 timer. Each of the sp804's timers can have an individual frequency. The timers default to 1MHz. Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v3 None Changes fr

[Qemu-devel] [PATCH v4 6/7] Add xgmac ethernet model

2011-12-27 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH v4 5/7] add L2x0/PL310 cache controller device

2011-12-27 Thread Mark Langsdorf
From: Rob Herring This is just a dummy device for ARM L2 cache controllers, based on the pl310. The cache type parameter can be defined by a property value and has a meaningful default. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v3 Changed default value

[Qemu-devel] [PATCH v4 3/7] arm: add dummy v7 cp15 config_base_register

2011-12-27 Thread Mark Langsdorf
Add a cp15 config_base_register that currently defaults to 0. After the QOM CPU support is added, the value will be properly set to the periphal base value. Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v3 None Changes from v2 Added test against op2

[Qemu-devel] [PATCH v5 2/7] arm: Set frequencies for arm_timer

2011-12-29 Thread Mark Langsdorf
Use qdev properties to allow board modelers to set the frequencies for the sp804 timer. Each of the sp804's timers can have an individual frequency. The timers default to 1MHz. Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell Reviewed-by: Andreas Färber --- Changes from v

[Qemu-devel] [PATCH v5 7/7] arm: make the number of GIC interrupts configurable

2011-12-29 Thread Mark Langsdorf
appropriately. Set the maximum theoretically number of GIC interrupts to 1020 and update the save/restore code to only use the appropriate number for each SoC. Signed-off-by: Mark Langsdorf --- Changes from v4 None Changes from v3 Increase maximum number of GIC interrupts to 1020

[Qemu-devel] [PATCH v5 4/7] arm: add dummy gic security registers

2011-12-29 Thread Mark Langsdorf
From: Rob Herring Implement handling for the RAZ/WI gic security registers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v2, v3, v4 None Changes from v1 Moved handling back inside the 0-0x100 block Added more

[Qemu-devel] [PATCH v5 6/7] Add xgmac ethernet model

2011-12-29 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH v5 1/7] arm: add missing scu registers

2011-12-29 Thread Mark Langsdorf
From: Rob Herring Add power control register to a9mpcore Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v3, v4 None Changes from v2: Better handling of byte and halfword writes to the power register Correct

[Qemu-devel] [PATCH v5 0/7] various ARM fixes for Calxeda Highbank

2011-12-29 Thread Mark Langsdorf
This is a collection of fixes and additions to the models for various ARM devices. These changes are needed to support the forthcoming Calxeda Highbank SoC model. Makefile.target |2 + hw/a9mpcore.c | 43 +- hw/arm11mpcore.c| 14 +- hw/arm_gic.c| 63 +---

[Qemu-devel] [PATCH v5 3/7] arm: add dummy v7 cp15 config_base_register

2011-12-29 Thread Mark Langsdorf
Add a cp15 config_base_register that currently defaults to 0. After the QOM CPU support is added, the value will be properly set to the periphal base value. Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v3, v4 None Changes from v2 Added test against

[Qemu-devel] [PATCH v5 5/5] add L2x0/PL310 cache controller device

2011-12-29 Thread Mark Langsdorf
From: Rob Herring This is just a dummy device for ARM L2 cache controllers, based on the pl310. The cache type parameter can be defined by a property value and has a meaningful default. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v4 Handling cache_type

Re: [Qemu-devel] [PATCH v5 3/7] arm: add dummy v7 cp15 config_base_register

2012-01-04 Thread Mark Langsdorf
On 01/04/2012 08:32 AM, Peter Maydell wrote: > On 29 December 2011 16:19, Mark Langsdorf wrote: >> Add a cp15 config_base_register that currently defaults to 0. >> After the QOM CPU support is added, the value will be properly >> set to the periphal base value. >> >&

[Qemu-devel] [PATCH v6 1/1] arm: add dummy v7 cp15 registers

2012-01-04 Thread Mark Langsdorf
Add dummy register support for the cp15, CRn=c15 registers. config_base_register and power_control_register currently default to 0, but may have improved support after the QOM CPU patches are finished. Signed-off-by: Mark Langsdorf --- Changes from v5 Added handling for all c15 registers

Re: [Qemu-devel] [PATCH v6 1/1] arm: add dummy v7 cp15 registers

2012-01-04 Thread Mark Langsdorf
On 01/04/2012 11:50 AM, Peter Maydell wrote: > On 4 January 2012 16:53, Mark Langsdorf wrote: >> +} else if ((op1 == 0) && (op2 == 0)) { >> +/* power_control should be set to maximum latency. Again, >> + default

[Qemu-devel] [PATCH v7] arm: add dummy v7 cp15 registers

2012-01-04 Thread Mark Langsdorf
Add dummy register support for the cp15, CRn=c15 registers. config_base_register and power_control_register currently default to 0, but may have improved support after the QOM CPU patches are finished. Signed-off-by: Mark Langsdorf --- Changes from v6 Added the diagnostic registers

[Qemu-devel] [PATCH v8] arm: add dummy v7 cp15 registers

2012-01-04 Thread Mark Langsdorf
Add dummy register support for the cp15, CRn=c15 registers and for c1 SCR. config_base_register and power_control_register currently default to 0, but may have improved support after the QOM CPU patches are finished. Signed-off-by: Mark Langsdorf --- Changes from v7 Formatted improved

Re: [Qemu-devel] [PATCH v8] arm: add dummy v7 cp15 registers

2012-01-04 Thread Mark Langsdorf
On 01/04/2012 06:22 PM, Peter Maydell wrote: > On 5 January 2012 00:14, Mark Langsdorf wrote: >> Add dummy register support for the cp15, CRn=c15 registers and >> for c1 SCR. > > Can you drop the SCR code, please? This needs to be done properly > as part of trust

[Qemu-devel] [PATCH v9] arm: add dummy v7 cp15 registers

2012-01-05 Thread Mark Langsdorf
Add dummy register support for the cp15, CRn=c15 registers. config_base_register and power_control_register currently default to 0, but may have improved support after the QOM CPU patches are finished. Signed-off-by: Mark Langsdorf --- Changes from v8 Removed c1_scr Changes from v7

[Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single structure, not a list hw/ide/ahci.c | 31

[Qemu-devel] [PATCH v3 1/2] ahci: convert ahci_reset to use AHCIState

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Use AHCIState instead of AHCIPCIState so the function can be used for non-PCI based AHCI controllers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1, v2 None hw/ide/ahci.c | 14 +++--- hw/ide/ich.c |4 ++-- 2 files

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
On 01/05/2012 08:26 AM, Alexander Graf wrote: > > On 05.01.2012, at 15:16, Andreas Färber wrote: > >> Am 05.01.2012 14:52, schrieb Mark Langsdorf: >>> From: Rob Herring >>> >>> Add support for ahci on sysbus. >>> >>> S

Re: [Qemu-devel] [PATCH v9] arm: add dummy v7 cp15 registers

2012-01-05 Thread Mark Langsdorf
On 01/05/2012 09:33 AM, Peter Maydell wrote: > On 5 January 2012 13:16, Mark Langsdorf wrote: >> Add dummy register support for the cp15, CRn=c15 registers. >> >> config_base_register and power_control_register currently >> default to 0, but may have improved support a

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
model requires c1_scr, which Peter says is part of Trustzone. I may have missed something, though. --Mark Langsdorf Calxeda, Inc.

[Qemu-devel] [PATCH 0/5] arm: add support for Calxeda Highbank SoC

2012-01-05 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. It depends on my previous patch series "various ARM fixes for Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState". Some of the patches are carried voer from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

[Qemu-devel] [PATCH 3/5] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v3 Renamed plat-ahci to sysbus-ahci Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single

[Qemu-devel] [PATCH v5 1/5] Add xgmac ethernet model

2012-01-05 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH 5/5] arm: SoC model for Calxeda Highbank

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Makefile.target |1 + hw/highbank.c | 227 +++ 2 files changed, 228 insertions(+), 0 deletions(-) create

[Qemu-devel] [PATCH v5 2/5] arm: make the number of GIC interrupts configurable

2012-01-05 Thread Mark Langsdorf
appropriately. Set the maximum theoretically number of GIC interrupts to 1020 and update the save/restore code to only use the appropriate number for each SoC. Signed-off-by: Mark Langsdorf --- Changes from v4, v5 None Changes from v3 Increase maximum number of GIC interrupts to 1020

[Qemu-devel] [PATCH 4/5] arm: Add dummy support for co-processor 15's secure config register

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2 ++ 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index

Re: [Qemu-devel] [PATCH 5/5] arm: SoC model for Calxeda Highbank

2012-01-06 Thread Mark Langsdorf
On 01/06/2012 10:29 AM, Peter Maydell wrote: > On 5 January 2012 20:02, Mark Langsdorf wrote: >> From: Rob Herring >> >> Adds support for Calxeda's Highbank SoC. > > Is there a test kernel image/etc we can use to confirm that this all works? The 3.2 kernel shoul

Re: [Qemu-devel] [PATCH 5/5] arm: SoC model for Calxeda Highbank

2012-01-06 Thread Mark Langsdorf
On 01/06/2012 11:04 AM, Peter Maydell wrote: > On 6 January 2012 16:58, Mark Langsdorf wrote: >> On 01/06/2012 10:29 AM, Peter Maydell wrote: >>>> +sysram = g_new(MemoryRegion, 1); >>>> +memory_region_init_ram(sysram, "highbank.sysram", 0x8

Re: [Qemu-devel] [PATCH 5/5] arm: SoC model for Calxeda Highbank

2012-01-06 Thread Mark Langsdorf
On 01/06/2012 10:29 AM, Peter Maydell wrote: > On 5 January 2012 20:02, Mark Langsdorf wrote: >> +static void hb_regs_write(void *opaque, target_phys_addr_t offset, >> + uint64_t value, unsigned size) >> +{ >> +uint32_t *regs = opaque; >&

[Qemu-devel] [PATCH v2 0/6] arm: add support for Calxeda Highbank SoC

2012-01-09 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. It depends on my previous patch series "various ARM fixes for Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState". Some of the patches are carried voer from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

[Qemu-devel] [PATCH v4 3/6] ahci: add support for non-PCI based controllers

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v3 Renamed plat-ahci to sysbus-ahci Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single

[Qemu-devel] [PATCH 6/6] arm: Remove incorrect and misleading comment in arm_timer

2012-01-09 Thread Mark Langsdorf
Signed-off-by: Mark Langsdorf --- hw/arm_timer.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/arm_timer.c b/hw/arm_timer.c index 60e1c63..15d493f 100644 --- a/hw/arm_timer.c +++ b/hw/arm_timer.c @@ -272,11 +272,8 @@ static int sp804_init(SysBusDevice *dev

[Qemu-devel] [PATCH v2 5/6] arm: SoC model for Calxeda Highbank

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1 Restructed the loading of sysram.bin and made it more clearly optional Made the regs structure into a proper qdev/sysbus o

[Qemu-devel] [PATCH 4/6] arm: Add dummy support for co-processor 15's secure config register

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2 ++ 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index

[Qemu-devel] [PATCH v5 1/6] Add xgmac ethernet model

2012-01-09 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH v6 2/6] arm: make the number of GIC interrupts configurable

2012-01-09 Thread Mark Langsdorf
appropriately. Set the maximum theoretically number of GIC interrupts to 1020 and update the save/restore code to only use the appropriate number for each SoC. Signed-off-by: Mark Langsdorf --- Changes from v5 Clarify the commit message Rename GIC_NIRQ to GIC_MAXIRQ and change usage

[Qemu-devel] [PATCH v8 3/6] ahci: add support for non-PCI based controllers

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v7 None Changes from v5, v6 Skipped Changes from v4 replaced all references to Plat|plat_ with sysbus_ made

[Qemu-devel] [PATCH v8 4/6] arm: Add dummy support for co-processor 15's secure config register

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v7 None Changes from v1, v2, v3, v4, v5, v6 Skipped target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2

[Qemu-devel] [PATCH v8 1/6] Add xgmac ethernet model

2012-01-11 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH v8 5/6] arm: SoC model for Calxeda Highbank

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v7 None Changes from v3, v4, v5, v6 Skipped Changes from v2 Created a reset function for highbank_regs Handled creation of

[Qemu-devel] [PATCH v8 6/6] arm: Remove incorrect comment in arm_timer

2012-01-11 Thread Mark Langsdorf
The current comment says that the arm_timers are restricted to between 32 KHz and 1 MHz, but sp804 TRM does not specify those limits. Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v7 None Changes from v2, v3, v4, v5, v6 Skipped Changes from v1

[Qemu-devel] [PATCH v8 0/6] arm: add support for Calxeda Highbank SoC

2012-01-11 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. It depends on my previous patch series "various ARM fixes for Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState". Some of the patches are carried voer from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

[Qemu-devel] [PATCH v8 2/6] arm: make the number of GIC interrupts configurable

2012-01-11 Thread Mark Langsdorf
appropriately. Set the maximum theoretically number of GIC interrupts to 1020 and update the save/restore code to only use the appropriate number for each SoC. Signed-off-by: Mark Langsdorf --- Changes from v7 Removed unnecessary vmstate_register Changes from v6 Removed trailing

[Qemu-devel] [PATCH v6 2/6] arm: make the number of GIC interrupts configurable

2012-01-11 Thread Mark Langsdorf
appropriately. Set the maximum theoretically number of GIC interrupts to 1020 and update the save/restore code to only use the appropriate number for each SoC. Signed-off-by: Mark Langsdorf --- Changes from v5 Clarify the commit message Rename GIC_NIRQ to GIC_MAXIRQ and change usage

[Qemu-devel] [PATCH v5 3/6] ahci: add support for non-PCI based controllers

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v4 replaced all references to Plat|plat_ with sysbus_ made the number of ports into a qdev property added dummy migration support Changes from v3

[Qemu-devel] [PATCH v9 6/6] arm: Remove incorrect comment in arm_timer

2012-01-11 Thread Mark Langsdorf
The current comment says that the arm_timers are restricted to between 32 KHz and 1 MHz, but sp804 TRM does not specify those limits. Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v7, v8 None Changes from v2, v3, v4, v5, v6 Skipped Changes from v1

[Qemu-devel] [PATCH v9 3/6] ahci: add support for non-PCI based controllers

2012-01-11 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v7, v8 None Changes from v5, v6 Skipped Changes from v4 replaced all references to Plat|plat_ with sysbus_

[Qemu-devel] [PATCH v9 0/6] arm: add support for Calxeda Highbank SoC

2012-01-11 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. It depends on my previous patch series "various ARM fixes for Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState". Some of the patches are carried over from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

  1   2   >