Re: [Qemu-devel] barebox on Canon A1100

2019-01-04 Thread Antony Pavlov
On Fri, 4 Jan 2019 09:17:41 +0100 Sascha Hauer wrote: > On Fri, Jan 04, 2019 at 01:56:41AM +0300, Antony Pavlov wrote: > > Hi Sascha! > > > > I have some good news and some bad news. > > > > First the good news. > > > > Barebox was used for Day

[Qemu-devel] barebox on Canon A1100

2019-01-03 Thread Antony Pavlov
on? -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH] RISC-V: make it possible to alter default reset vector

2018-05-17 Thread Antony Pavlov
On Tue, 8 May 2018 00:08:38 +0300 Antony Pavlov <antonynpav...@gmail.com> wrote: Please comment this patch! > The RISC-V Instruction Set Manual, Volume II: > Privileged Architecture, Version 1.10 states > that upon reset the pc is set to > an implementation-defined reset vec

[Qemu-devel] [PATCH] RISC-V: make it possible to alter default reset vector

2018-05-07 Thread Antony Pavlov
; property for TYPE_RISCV_HART_ARRAY. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Cc: Michael Clark <m...@sifive.com> Cc: Palmer Dabbelt <pal...@sifive.com> Cc: Sagar Karandikar <sag...@eecs.berkeley.edu> Cc: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> Cc: Peter Cros

Re: [Qemu-devel] [PATCH v8 19/23] SiFive RISC-V UART Device

2018-04-10 Thread Antony Pavlov
On Tue, 10 Apr 2018 08:17:32 +0200 Thomas Huth <th...@redhat.com> wrote: > On 10.04.2018 05:21, Antony Pavlov wrote: > > On Sat, 3 Mar 2018 02:51:47 +1300 > > Michael Clark <m...@sifive.com> wrote: > > > >> QEMU model of the UART on the SiFive E3

Re: [Qemu-devel] [PATCH v8 19/23] SiFive RISC-V UART Device

2018-04-09 Thread Antony Pavlov
rmark interrupt enable */ > +}; > + > +enum { > +SIFIVE_UART_IP_TXWM = 1, /* Transmit watermark interrupt pending */ > +SIFIVE_UART_IP_RXWM = 2 /* Receive watermark interrupt pending */ > +}; > + > +#define TYPE_SIFIVE_UART "riscv.sifive.uart" > + > +#define SIFIVE_UART(obj) \ > +OBJECT_CHECK(SiFiveUARTState, (obj), TYPE_SIFIVE_UART) > + > +typedef struct SiFiveUARTState { > +/*< private >*/ > +SysBusDevice parent_obj; You use SysBusDevive in this header file but there is no 'include "hw/sysbus.h"' in the header file itself. Please see my comment https://github.com/riscv/riscv-qemu/pull/130#issuecomment-379640538 > +/*< public >*/ > +qemu_irq irq; > +MemoryRegion mmio; > +CharBackend chr; Just the same thing. CharBackend is defined in "chardev/char-fe.h" please include it. > +uint8_t rx_fifo[8]; > +unsigned int rx_fifo_len; > +uint32_t ie; > +uint32_t ip; > +uint32_t txctrl; > +uint32_t rxctrl; > +uint32_t div; > +} SiFiveUARTState; > + > +SiFiveUARTState *sifive_uart_create(MemoryRegion *address_space, hwaddr base, > +Chardev *chr, qemu_irq irq); > + > +#endif > -- > 2.7.0 > > -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH v3 19/21] SiFive Freedom E300 RISC-V Machine

2018-01-12 Thread Antony Pavlov
2000, 0x2000 }, > +[SIFIVE_E300_DTIM] = { 0x8000, 0x4000 } > +}; > + > +static uint64_t identity_translate(void *opaque, uint64_t addr) > +{ > +return addr; > +} > + > +static uint64_t load_kernel(const char *kernel_filename) > +{ > +uint64_t kernel_entry, kernel_high; > + > +if (load_elf(kernel_filename, identity_translate, NULL, > + _entry, NULL, _high, > + /* little_endian = */ 0, ELF_MACHINE, 1, 0) < 0) { "little_endian =" is misleading. Actually it's "big_endian = 0". The same comment is present in the U500 code. -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH v3 14/21] SiFive RISC-V PLIC Block

2018-01-11 Thread Antony Pavlov
ar *hart_config, > +uint32_t num_sources, uint32_t num_priorities, > +uint32_t priority_base, uint32_t pending_base, > +uint32_t enable_base, uint32_t enable_stride, > +uint32_t context_base, uint32_t context_stride, > +uint32_t aperture_size); > + > +#endif > + > -- > 2.7.0 'git am' reports on 'new blank line at EOF' here (include/hw/riscv/sifive_plic.h): Applying: SiFive RISC-V PLIC Block .git/rebase-apply/patch:664: new blank line at EOF. + warning: 1 line adds whitespace errors. -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH v1 19/21] SiFive Freedom E300 RISC-V Machine

2018-01-05 Thread Antony Pavlov
+ > +typedef struct SiFiveE300State { > +/*< private >*/ > +SysBusDevice parent_obj; > + > +/*< public >*/ > +RISCVHartArrayState soc; I suppose that name 'soc' is misleading because it contain only CPU core-related information but it does not contain any SoC-related information. > +DeviceState *plic; > +} SiFiveE300State; > + -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH v1 12/21] RISC-V HART Array

2018-01-05 Thread Antony Pavlov
cv/riscv_hart.h +++ b/include/hw/riscv/riscv_hart.h @@ -27,6 +27,10 @@ #ifndef HW_RISCV_HART_H #define HW_RISCV_HART_H +#include "qemu/osdep.h" +#include "hw/sysbus.h" +#include "target/riscv/cpu.h" + #define TYPE_RISCV_HART_ARRAY "riscv.hart_array" #define RISCV_HART_ARRAY(obj) \ Some files in include/hw/riscv/ are affected by this problem (e.g. sifive_uart.h). -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH v1 17/21] SiFive RISC-V UART Device

2018-01-04 Thread Antony Pavlov
SIFIVE_UART_MAX = 32 > +}; > + > +enum { > +SIFIVE_UART_IE_TXWM = 1, /* Transmit watermark interrupt enable */ > +SIFIVE_UART_IE_RXWM = 2 /* Receive watermark interrupt enable */ > +}; > + > +enum { > +SIFIVE_UART_IP_TXWM = 1, /* Transmit watermark interrupt pending */ > +SIFIVE_UART_IP_RXWM = 2 /* Receive watermark interrupt pending */ > +}; > + > +#define TYPE_SIFIVE_UART "riscv.sifive.uart" > + > +#define SIFIVE_UART(obj) \ > +OBJECT_CHECK(SiFiveUARTState, (obj), TYPE_SIFIVE_UART) > + > +typedef struct SiFiveUARTState { > +/*< private >*/ > +SysBusDevice parent_obj; > + > +/*< public >*/ > +qemu_irq irq; > +MemoryRegion mmio; > +CharBackend chr; > +uint8_t rx_fifo[8]; > +unsigned int rx_fifo_len; > +uint32_t ie; > +uint32_t ip; > +uint32_t txctrl; > +uint32_t rxctrl; > +uint32_t div; > +} SiFiveUARTState; > + > +SiFiveUARTState *sifive_uart_create(MemoryRegion *address_space, hwaddr base, > +Chardev *chr, qemu_irq irq); > + > +#endif > -- > 2.7.0 > > -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH v1 03/21] RISC-V CPU Core Definition

2018-01-04 Thread Antony Pavlov
On Thu, 4 Jan 2018 20:33:57 +1300 Michael Clark <m...@sifive.com> wrote: > On Thu, Jan 4, 2018 at 7:47 PM, Antony Pavlov <antonynpav...@gmail.com> > wrote: > > > On Wed, 3 Jan 2018 13:44:07 +1300 > > Michael Clark <m...@sifive.com> wrote: > >

Re: [Qemu-devel] [PATCH v1 21/21] RISC-V Build Infrastructure

2018-01-04 Thread Antony Pavlov
y += sifive_clint.o obj-y += sifive_prci.o obj-y += sifive_plic.o -obj-y += sifive_u500.o +obj-$(CONFIG_SIFIVE_U500) += sifive_u500.o obj-y += sifive_uart.o obj-y += spike_v1_09.o obj-y += spike_v1_10.o -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH v1 03/21] RISC-V CPU Core Definition

2018-01-03 Thread Antony Pavlov
define MIP_MTIP(1 << IRQ_M_TIMER) > +#define MIP_SEIP(1 << IRQ_S_EXT) > +#define MIP_HEIP(1 << IRQ_H_EXT) > +#define MIP_MEIP(1 << IRQ_M_EXT) > + > +#define SIP_SSIP MIP_SSIP > +#define SIP_STIP MIP_STIP > +#define SIP_SEIP MIP_SEIP > + > +#define PRV_U 0 > +#define PRV_S 1 > +#define PRV_H 2 > +#define PRV_M 3 > + > +/* privileged ISA 1.9.1 VM modes (mstatus.vm) */ > +#define VM_1_09_MBARE 0 > +#define VM_1_09_MBB 1 > +#define VM_1_09_MBBID 2 > +#define VM_1_09_SV32 8 > +#define VM_1_09_SV39 9 > +#define VM_1_09_SV48 10 > + > +/* privileged ISA 1.10.0 VM modes (satp.mode) */ > +#define VM_1_10_MBARE 0 > +#define VM_1_10_SV32 1 > +#define VM_1_10_SV39 8 > +#define VM_1_10_SV48 9 > +#define VM_1_10_SV57 10 > +#define VM_1_10_SV64 11 > + > +/* privileged ISA interrupt causes */ > +#define IRQ_U_SOFT 0 /* since: priv-1.10 */ > +#define IRQ_S_SOFT 1 > +#define IRQ_H_SOFT 2 /* until: priv-1.9.1 */ > +#define IRQ_M_SOFT 3 /* until: priv-1.9.1 */ > +#define IRQ_U_TIMER 4 /* since: priv-1.10 */ > +#define IRQ_S_TIMER 5 > +#define IRQ_H_TIMER 6 /* until: priv-1.9.1 */ > +#define IRQ_M_TIMER 7 /* until: priv-1.9.1 */ > +#define IRQ_U_EXT 8 /* since: priv-1.10 */ > +#define IRQ_S_EXT 9 > +#define IRQ_H_EXT 10 /* until: priv-1.9.1 */ > +#define IRQ_M_EXT 11 /* until: priv-1.9.1 */ > +#define IRQ_X_COP 12 /* non-standard */ > +#define IRQ_X_HOST 13 /* non-standard */ > + > +/* Default addresses */ > +#define DEFAULT_RSTVEC 0x1000 > +#define DEFAULT_NMIVEC 0x1004 > +#define DEFAULT_MTVEC 0x1010 > +#define CONFIG_STRING_ADDR 0x100C > +#define EXT_IO_BASE0x4000 > +#define DRAM_BASE 0x8000 > + > +/* RV32 satp field masks */ > +#define SATP32_MODE 0x8000 > +#define SATP32_ASID 0x7fc0 > +#define SATP32_PPN 0x003f > + > +/* RV64 satp field masks */ > +#define SATP64_MODE 0xF000 > +#define SATP64_ASID 0x0000 > +#define SATP64_PPN 0x0FFF > + > +#if defined(TARGET_RISCV32) > +#define SATP_MODE SATP32_MODE > +#define SATP_ASID SATP32_ASID > +#define SATP_PPN SATP32_PPN > +#endif > +#if defined(TARGET_RISCV64) > +#define SATP_MODE SATP64_MODE > +#define SATP_ASID SATP64_ASID > +#define SATP_PPN SATP64_PPN > +#endif > + > +/* breakpoint control fields */ > +#define BPCONTROL_X 0x0001 > +#define BPCONTROL_W 0x0002 > +#define BPCONTROL_R 0x0004 > +#define BPCONTROL_U 0x0008 > +#define BPCONTROL_S 0x0010 > +#define BPCONTROL_H 0x0020 > +#define BPCONTROL_M 0x0040 > +#define BPCONTROL_BPMATCH 0x0780 > +#define BPCONTROL_BPAMASKMAX 0x0F80 > +#define BPCONTROL_TDRTYPE0xF000 > + > +/* page table entry (PTE) fields */ > +#define PTE_V 0x001 /* Valid */ > +#define PTE_R 0x002 /* Read */ > +#define PTE_W 0x004 /* Write */ > +#define PTE_X 0x008 /* Execute */ > +#define PTE_U 0x010 /* User */ > +#define PTE_G 0x020 /* Global */ > +#define PTE_A 0x040 /* Accessed */ > +#define PTE_D 0x080 /* Dirty */ > +#define PTE_SOFT 0x300 /* Reserved for Software */ > + > +#define PTE_PPN_SHIFT 10 > + > +#define PTE_TABLE(PTE) (((PTE) & (PTE_V | PTE_R | PTE_W | PTE_X)) == PTE_V) > +/* end Spike decode.h, encoding.h section */ > -- > 2.7.0 > > -- Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH pic32 v2 5/5] Two new machine platforms: pic32mz7 and pic32mz.

2015-07-07 Thread Antony Pavlov
On Mon, 6 Jul 2015 11:58:54 -0700 Serge Vakulenko serge.vakule...@gmail.com wrote: On Mon, Jul 6, 2015 at 12:33 AM, Antony Pavlov antonynpav...@gmail.com wrote: On Sun, 5 Jul 2015 21:18:11 -0700 Serge Vakulenko serge.vakule...@gmail.com wrote: On Wed, Jul 1, 2015 at 6:41 AM, Aurelien

Re: [Qemu-devel] [PATCH pic32 v3 08/16] pic32: add file mips_pic32mx7.c

2015-07-06 Thread Antony Pavlov
(pic32_machine_init); -- 2.2.2 -- --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH pic32 v2 5/5] Two new machine platforms: pic32mz7 and pic32mz.

2015-07-06 Thread Antony Pavlov
prepare a new patch set, with every new file put into a separate message. Other issues fixed as well. Putting every new file into a separate message is a nonsense. Please separate __logical changes__ into a single patch. --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH pic32 v2 5/5] Two new machine platforms: pic32mz7 and pic32mz.

2015-07-06 Thread Antony Pavlov
On Sun, 5 Jul 2015 21:27:04 -0700 Serge Vakulenko serge.vakule...@gmail.com wrote: On Wed, Jul 1, 2015 at 10:56 PM, Antony Pavlov antonynpav...@gmail.com wrote: On Tue, 30 Jun 2015 21:12:34 -0700 Serge Vakulenko serge.vakule...@gmail.com wrote: Signed-off-by: Serge Vakulenko

Re: [Qemu-devel] [PATCH pic32 v2 2/5] Fixed random index generation for TLBWR instruction. It was not quite random and did not skip Wired entries.

2015-07-02 Thread Antony Pavlov
regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH pic32 v2 0/5] Support for Microchip pic32mx7 and pic32mz microcontrollers

2015-07-01 Thread Antony Pavlov
and pic32mz. Please fix your subject lines according to Write a good commit message section of http://wiki.qemu.org/Contribute/SubmitAPatch. Also please use the imperative mood in the subject line. --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [PATCH pic32 v2 5/5] Two new machine platforms: pic32mz7 and pic32mz.

2015-07-01 Thread Antony Pavlov
for example (fulong2e is mips64le-only). --  Best regards,   Antony Pavlov

[Qemu-devel] [PATCH v4] qemu-log: add log category for MMU info

2014-12-13 Thread Antony Pavlov
. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Acked-by: Alexander Graf ag...@suse.de --- Changes since v3: * rebase over latest 'master'; * add 'Acked-by: Alexander Graf' tag; see http://lists.gnu.org/archive/html/qemu-devel/2014-11/msg01051.html; * drop unicore32; here is gcc 4.9.2

[Qemu-devel] [PATCH] pflash_cfi02.c: associate cfi.pflash02 to Storage devices category

2014-12-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/block/pflash_cfi02.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/block/pflash_cfi02.c b/hw/block/pflash_cfi02.c index 8513a17..389b4aa 100644 --- a/hw/block/pflash_cfi02.c +++ b/hw/block/pflash_cfi02.c @@ -744,6 +744,7

Re: [Qemu-devel] [PATCH v3] qemu-log: add log category for MMU info

2014-11-06 Thread Antony Pavlov
for *_cpu_handle_mmu_fault() logging fixes the problem. Signed-off-by: Antony Pavlov address@hidden Have you benchmarked the performance delta with this patch applied? Just boot up a random small PPC guest that shuts down immediately and time it with and without the patch applied. Here is my simple

[Qemu-devel] [PATCH v3] qemu-log: add log category for MMU info

2014-10-28 Thread Antony Pavlov
. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- Changes since v2: * fix target-ppc/mmu-hash64.c and target-ppc/mmu_helper.c too; * drop LOG_MMU wrapping macros: compile-in qemu_log_mask() always; * use VADDR_PRIx for fixing this microblaze warning: CCmicroblazeel-softmmu

[Qemu-devel] [PATCH v2] qemu-log: add log category for MMU info

2014-10-10 Thread Antony Pavlov
. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- Changes since v1: * add cris, i386, microblaze, ppc, s390x, sparc and unicore32 support. --- cputlb.c | 3 ++- include/qemu/log.h | 1 + qemu-log.c | 2 ++ target-cris/helper.c | 12

[Qemu-devel] [PATCH] qemu-log: add log category for MIPS MMU fault info

2014-09-23 Thread Antony Pavlov
. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- include/qemu/log.h | 1 + qemu-log.c | 2 ++ target-mips/helper.c | 6 -- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/qemu/log.h b/include/qemu/log.h index d515424..195f665 100644 --- a/include

Re: [Qemu-devel] QEMU ARM946 emulation, DIGIC, and MPU fault handling

2014-01-24 Thread Antony Pavlov
with patches from MagicLantern qemu patches. May be during this work I'll be capable to answer your question, but just now I have no answer, sorry. May be Magic Lantern people (especiall g3gg0) can help? I have added them to Cc. --  Best regards,   Antony Pavlov

Re: [Qemu-devel] multiple chip simulation

2014-01-14 Thread Antony Pavlov
://lists.nongnu.org/archive/html/qemu-devel/2014-01/msg00923.html --  Best regards,   Antony Pavlov

[Qemu-devel] [PATCH RESEND 1/2] include/qemu: introduce sizes.h

2014-01-13 Thread Antony Pavlov
The header file sizes.h is used in linux kernel, barebox bootloader and u-boot bootloader. It provides short and easy-to-read names for power-of-two numbers. The numbers like this are othen used for memory range sizes. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Richard

[Qemu-devel] [PATCH RESEND 0/2] use sizes.h macros for power-of-two sizes

2014-01-13 Thread Antony Pavlov
The sizes.h macros is an easy-to-read method of power-of-two memory sizes representation. The sizes.h macros are actively used in the linux kernel and other projects, so let's use them in QEMU too. Antony Pavlov (2): include/qemu: introduce sizes.h hw/mips: use sizes.h macros hw/mips

[Qemu-devel] [PATCH RESEND 2/2] hw/mips: use sizes.h macros

2014-01-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Richard Henderson r...@twiddle.net Reviewed-by: Andreas Färber afaer...@suse.de --- hw/mips/mips_malta.c | 25 + include/hw/mips/bios.h | 3 ++- 2 files changed, 15 insertions(+), 13 deletions(-) diff

Re: [Qemu-devel] a QOM Coding Conventions question

2013-12-15 Thread Antony Pavlov
On Sun, 15 Dec 2013 09:06:30 +1000 Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Sat, Dec 14, 2013 at 6:26 AM, Antony Pavlov antonynpav...@gmail.com wrote: Hi, Andreas! Here is a quote from http://wiki.qemu.org/QOMConventions a FooClass structure definition containing

[Qemu-devel] [PATCH v9 0/6] hw/arm: add initial support for Canon DIGIC SoC

2013-12-15 Thread Antony Pavlov
[PATCH v9 1/6] hw/arm: add very initial support for Canon DIGIC SoC [PATCH v9 2/6] hw/arm/digic: prepare DIGIC-based boards support [PATCH v9 3/6] hw/arm/digic: add timer support [PATCH v9 4/6] hw/arm/digic: add UART support [PATCH v9 5/6] hw/arm/digic: add NOR ROM support [PATCH v9 6/6]

[Qemu-devel] [PATCH v9 6/6] MAINTAINERS: Document 'Canon DIGIC' machine

2013-12-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7f45d1d..1fce9a5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -233,6 +233,12 @@ S: Supported F: hw/arm/highbank.c F: hw/net/xgmac.c

[Qemu-devel] [PATCH v9 2/6] hw/arm/digic: prepare DIGIC-based boards support

2013-12-15 Thread Antony Pavlov
Also this patch adds initial support for Canon PowerShot A1100 IS compact camera. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/Makefile.objs | 1 + hw/arm/digic_boards.c | 84 +++ 2 files changed, 85 insertions(+) create mode

[Qemu-devel] [PATCH v9 1/6] hw/arm: add very initial support for Canon DIGIC SoC

2013-12-15 Thread Antony Pavlov
://www.magiclantern.fm) projects contributors. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Andreas Färber afaer...@suse.de Reviewed-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- default-configs/arm-softmmu.mak | 1 + hw/arm

[Qemu-devel] [PATCH v9 3/6] hw/arm/digic: add timer support

2013-12-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- hw/arm/digic.c | 28 +++ hw/timer/Makefile.objs | 1 + hw/timer/digic-timer.c | 163 + include/hw/arm

[Qemu-devel] [PATCH v9 4/6] hw/arm/digic: add UART support

2013-12-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- hw/arm/digic.c | 16 hw/char/Makefile.objs| 1 + hw/char/digic-uart.c | 195

[Qemu-devel] [PATCH v9 5/6] hw/arm/digic: add NOR ROM support

2013-12-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/digic_boards.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index 87a9c4b..217c506 100644 --- a/hw/arm/digic_boards.c +++ b/hw

Re: [Qemu-devel] [PATCH v8 3/6] hw/arm/digic: add timer support

2013-12-15 Thread Antony Pavlov
On Sat, 14 Dec 2013 16:41:44 +1000 Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Sat, Dec 14, 2013 at 7:42 AM, Antony Pavlov antonynpav...@gmail.com wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/digic.c | 28 + hw/timer

Re: [Qemu-devel] [PATCH v8 2/6] hw/arm/digic: prepare DIGIC-based boards support

2013-12-15 Thread Antony Pavlov
On Mon, 16 Dec 2013 00:04:18 +0100 Andreas Färber afaer...@suse.de wrote: Hi, Am 13.12.2013 22:42, schrieb Antony Pavlov: Also this patch adds initial support for Canon PowerShot A1100 IS compact camera. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm

Re: [Qemu-devel] [PATCH v12 2/5] hw/timer: add allwinner a10 timer

2013-12-13 Thread Antony Pavlov
]; +uint32_t watch_dog_mode; +uint32_t watch_dog_control; +uint32_t count_lo; +uint32_t count_hi; +uint32_t count_ctl; +} AwA10PITState; + +#endif + And here. -- 1.7.2.5 --  Best regards,   Antony Pavlov

[Qemu-devel] a QOM Coding Conventions question

2013-12-13 Thread Antony Pavlov
] } FooClass; What do the private and public comments exactly mean here? --  Best regards,   Antony Pavlov

[Qemu-devel] [PATCH v8 6/6] MAINTAINERS: Document 'Canon DIGIC' machine

2013-12-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7f45d1d..1fce9a5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -233,6 +233,12 @@ S: Supported F: hw/arm/highbank.c F: hw/net/xgmac.c

[Qemu-devel] [PATCH v8 2/6] hw/arm/digic: prepare DIGIC-based boards support

2013-12-13 Thread Antony Pavlov
Also this patch adds initial support for Canon PowerShot A1100 IS compact camera. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/Makefile.objs | 1 + hw/arm/digic_boards.c | 84 +++ 2 files changed, 85 insertions(+) create mode

[Qemu-devel] [PATCH v8 1/6] hw/arm: add very initial support for Canon DIGIC SoC

2013-12-13 Thread Antony Pavlov
://www.magiclantern.fm) projects contributors. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Andreas Färber afaer...@suse.de Reviewed-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- default-configs/arm-softmmu.mak | 1 + hw/arm

[Qemu-devel] [PATCH v8 3/6] hw/arm/digic: add timer support

2013-12-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/digic.c | 28 + hw/timer/Makefile.objs | 1 + hw/timer/digic-timer.c | 168 + hw/timer/digic-timer.h | 38 +++ include/hw/arm/digic.h | 6 ++ 5 files

[Qemu-devel] [PATCH v8 4/6] hw/arm/digic: add UART support

2013-12-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- hw/arm/digic.c | 16 hw/char/Makefile.objs | 1 + hw/char/digic-uart.c | 195

[Qemu-devel] [PATCH v8 5/6] hw/arm/digic: add NOR ROM support

2013-12-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/digic_boards.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index 87a9c4b..217c506 100644 --- a/hw/arm/digic_boards.c +++ b/hw

[Qemu-devel] [PATCH v8 0/6] hw/arm: add initial support for Canon DIGIC SoC

2013-12-13 Thread Antony Pavlov
[PATCH v8 1/6] hw/arm: add very initial support for Canon DIGIC SoC [PATCH v8 2/6] hw/arm/digic: prepare DIGIC-based boards support [PATCH v8 3/6] hw/arm/digic: add timer support [PATCH v8 4/6] hw/arm/digic: add UART support [PATCH v8 5/6] hw/arm/digic: add NOR ROM support [PATCH v8 6/6]

[Qemu-devel] [PATCH v7 0/6] add initial support for Canon DIGIC SoC

2013-12-12 Thread Antony Pavlov
[PATCH v7 1/6] hw/arm: add very initial support for Canon DIGIC SoC [PATCH v7 2/6] hw/arm/digic: prepare DIGIC-based boards support [PATCH v7 3/6] hw/arm/digic: add timer support [PATCH v7 4/6] hw/arm/digic: add UART support [PATCH v7 5/6] hw/arm/digic: add NOR ROM support [PATCH v7 6/6]

[Qemu-devel] [PATCH v7 2/6] hw/arm/digic: prepare DIGIC-based boards support

2013-12-12 Thread Antony Pavlov
Also this patch adds initial support for Canon PowerShot A1100 IS compact camera. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/Makefile.objs | 1 + hw/arm/digic_boards.c | 83 +++ 2 files changed, 84 insertions(+) create mode

[Qemu-devel] [PATCH v7 3/6] hw/arm/digic: add timer support

2013-12-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org --- hw/arm/digic.c | 28 ++ hw/timer/Makefile.objs | 1 + hw/timer/digic-timer.c | 140 + hw/timer/digic-timer.h | 36

[Qemu-devel] [PATCH v7 1/6] hw/arm: add very initial support for Canon DIGIC SoC

2013-12-12 Thread Antony Pavlov
://www.magiclantern.fm) projects contributors. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Andreas Färber afaer...@suse.de Reviewed-by: Peter Maydell peter.mayd...@linaro.org --- default-configs/arm-softmmu.mak | 1 + hw/arm/Makefile.objs| 1 + hw/arm/digic.c

[Qemu-devel] [PATCH v7 4/6] hw/arm/digic: add UART support

2013-12-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org --- hw/arm/digic.c | 16 hw/char/Makefile.objs | 1 + hw/char/digic-uart.c | 195 + hw/char/digic-uart.h | 45

[Qemu-devel] [PATCH v7 5/6] hw/arm/digic: add NOR ROM support

2013-12-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/digic_boards.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index 20c8054..ad62c7e 100644 --- a/hw/arm/digic_boards.c +++ b/hw

[Qemu-devel] [PATCH v7 6/6] MAINTAINERS: Document 'Canon DIGIC' machine

2013-12-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7eed206..02ad9fb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -233,6 +233,12 @@ S: Supported F: hw/arm/highbank.c F: hw/net/xgmac.c

Re: [Qemu-devel] [PATCH v7 3/6] hw/arm/digic: add timer support

2013-12-12 Thread Antony Pavlov
On Fri, 13 Dec 2013 09:20:27 +1000 Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Fri, Dec 13, 2013 at 8:23 AM, Antony Pavlov antonynpav...@gmail.com wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org --- hw/arm

[Qemu-devel] [RFC v2 1/2] ARM: cpu: add reset_hivecs property (high vectors on reset)

2013-12-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- target-arm/cpu-qom.h | 1 + target-arm/cpu.c | 24 2 files changed, 25 insertions(+) diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h index b55306a..116320c 100644 --- a/target-arm/cpu-qom.h +++ b

[Qemu-devel] [RFC v2 0/2] ARM: make possible to use high vectors for reset exception

2013-12-10 Thread Antony Pavlov
[RFC v2 1/2] ARM: cpu: add reset_hivecs property (high vectors on [RFC v2 2/2] ARM: arm_cpu_reset: make possible to use high vectors Changes since v1: * rebase over Peter Crosthwaite's Fix Support for ARM A9 CBAR v3 series; * rewrite according to Peter Crosthwaite's and Peter Maydell's

[Qemu-devel] [RFC v2 2/2] ARM: arm_cpu_reset: make possible to use high vectors for reset_exc

2013-12-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- target-arm/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/target-arm/cpu.c b/target-arm/cpu.c index b60e3fc..b6199c5 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -120,6 +120,11 @@ static void arm_cpu_reset

Re: [Qemu-devel] [RFC 1/2] ARM: cpu: add hivecs property (high vectors on reset)

2013-12-07 Thread Antony Pavlov
On Sat, 7 Dec 2013 11:00:05 +1000 Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Sat, Dec 7, 2013 at 10:55 AM, Antony Pavlov antonynpav...@gmail.com wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- target-arm/cpu-qom.h | 1 + target-arm/cpu.c | 13

Re: [Qemu-devel] [RFC 2/2] ARM: arm_cpu_reset: make possible to use high vectors for reset_exc

2013-12-07 Thread Antony Pavlov
On Sat, 7 Dec 2013 11:08:40 +1000 Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Sat, Dec 7, 2013 at 10:55 AM, Antony Pavlov antonynpav...@gmail.com wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- target-arm/cpu.c | 4 1 file changed, 4 insertions

[Qemu-devel] [RFC 1/2] ARM: cpu: add hivecs property (high vectors on reset)

2013-12-06 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- target-arm/cpu-qom.h | 1 + target-arm/cpu.c | 13 + 2 files changed, 14 insertions(+) diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h index b55306a..116320c 100644 --- a/target-arm/cpu-qom.h +++ b/target-arm/cpu

[Qemu-devel] [RFC 0/2] ARM: make possible to use high vectors for reset exception

2013-12-06 Thread Antony Pavlov
[RFC 1/2] ARM: cpu: add hivecs property (high vectors on reset) [RFC 2/2] ARM: arm_cpu_reset: make possible to use high vectors for

Re: [Qemu-devel] [Qemu-trivial] [PATCH] eeprom93xx: fix coding style

2013-12-06 Thread Antony Pavlov
On Fri, 06 Dec 2013 22:59:29 +0400 Michael Tokarev m...@tls.msk.ru wrote: 04.12.2013 10:27, Antony Pavlov wrote: scripts/checkpatch.pl reports about some style problems, this commit fixes some of them: Thanks, applied to trivial-patches queue. I'm a bit afraid of this sort of patches

Re: [Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support

2013-12-04 Thread Antony Pavlov
. Branching to barebox code in ROM happends in a natural way! Please comment my proposition. --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support

2013-12-04 Thread Antony Pavlov
On Wed, 4 Dec 2013 20:29:05 + Peter Maydell peter.mayd...@linaro.org wrote: On 4 December 2013 20:22, Antony Pavlov antonynpav...@gmail.com wrote: Here is my proposition: 1. qemu board code setup CPU to start from 0x. (0x is a ROM address on DIGIC chips) Sort

Re: [Qemu-devel] [PATCH 2/2] hw/mips: use sizes.h macros

2013-11-28 Thread Antony Pavlov
On Thu, 28 Nov 2013 15:27:18 +0100 Andreas Färber afaer...@suse.de wrote: Am 28.11.2013 07:29, schrieb Antony Pavlov: Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Richard Henderson r...@twiddle.net Are the int - long changes caused by the BIT() macro usage? Otherwise

Re: [Qemu-devel] [PATCH 2/2] hw/mips: use sizes.h macros

2013-11-28 Thread Antony Pavlov
On Thu, 28 Nov 2013 18:08:32 +0100 Stefan Weil s...@weilnetz.de wrote: Am 28.11.2013 07:29, schrieb Antony Pavlov: Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Richard Henderson r...@twiddle.net --- hw/mips/mips_malta.c | 25 + include/hw

[Qemu-devel] [PATCH 0/2] use sizes.h macros for power-of-two sizes

2013-11-27 Thread Antony Pavlov
[PATCH 1/2] include/qemu: introduce sizes.h [PATCH 2/2] hw/mips: use sizes.h macros The sizes.h macros is a easy-to-read method of power-of-two memory sizes representation. The sizes.h macros are actively used in linux kernel and other projects, so let's use them in QEMU too.

[Qemu-devel] [PATCH 1/2] include/qemu: introduce sizes.h

2013-11-27 Thread Antony Pavlov
The header file sizes.h is used in linux kernel, barebox bootloader and u-boot bootloader. It provides the short and easy-to-read names for power-of-two numbers. The numbers like this are othen used for memory range sizes. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Richard

[Qemu-devel] [PATCH 2/2] hw/mips: use sizes.h macros

2013-11-27 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Richard Henderson r...@twiddle.net --- hw/mips/mips_malta.c | 25 + include/hw/mips/bios.h | 3 ++- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/hw/mips/mips_malta.c b/hw/mips

Re: [Qemu-devel] [PULL v2 00/11] target-lm32 updates

2013-11-27 Thread Antony Pavlov
. There was some feedback, i wasn't getting before. I try to make the suggested changes, sending update patches for reviews and after that i'll make a new pull request. Hi! Are you planning on pull request renewing? --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [Bug 1248168] [NEW] MIPS, self-modifying code and uncached memory

2013-11-05 Thread Antony Pavlov
` This should work because no cache is used for this memory region. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1248168/+subscriptions -- --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [Qemu-trivial] [PATCH] vl: fix build when configured with no graphic support

2013-11-01 Thread Antony Pavlov
On Fri, 01 Nov 2013 15:18:28 +0400 Michael Tokarev m...@tls.msk.ru wrote: 01.11.2013 15:14, Antony Pavlov wrote: On Fri, 01 Nov 2013 14:29:24 +0400 Michael Tokarev m...@tls.msk.ru wrote: 29.10.2013 08:36, Antony Pavlov wrote The following error occurs when building no graphic output

Re: [Qemu-devel] About QEMU for MIPS

2013-10-29 Thread Antony Pavlov
have already write, qemu itself has gdb server functionality support. -- Best Regards, Yu Rong Tan -- --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [RFC v3 0/2] use sizes.h macros for power-of-two sizes

2013-10-23 Thread Antony Pavlov
On Tue, 24 Sep 2013 08:32:10 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping-ping On Fri, 13 Sep 2013 11:33:24 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping Changes since v2: * commit messages: drop ALL 'Reviewed-by' tags. Drop Aurelien Jarno's tag because

[Qemu-devel] [PATCH v6 0/5] add initial support for Canon DIGIC SoC

2013-10-23 Thread Antony Pavlov
[PATCH v6 1/5] hw/arm: add very initial support for Canon DIGIC SoC [PATCH v6 2/5] hw/arm/digic: prepare DIGIC-based boards support [PATCH v6 3/5] hw/arm/digic: add timer support [PATCH v6 4/5] hw/arm/digic: add UART support [PATCH v6 5/5] hw/arm/digic: add NOR ROM support Changes since v5: 1.

[Qemu-devel] [PATCH v6 1/5] hw/arm: add very initial support for Canon DIGIC SoC

2013-10-23 Thread Antony Pavlov
://www.magiclantern.fm) projects contributors. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Andreas Färber afaer...@suse.de --- default-configs/arm-softmmu.mak | 1 + hw/arm/Makefile.objs| 1 + hw/arm/digic.c | 65

[Qemu-devel] [PATCH v6 2/5] hw/arm/digic: prepare DIGIC-based boards support

2013-10-23 Thread Antony Pavlov
Also this patch adds initial support for Canon PowerShot A1100 IS compact camera. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/Makefile.objs | 1 + hw/arm/digic_boards.c | 88 +++ 2 files changed, 89 insertions(+) create mode

[Qemu-devel] [PATCH v6 5/5] hw/arm/digic: add NOR ROM support

2013-10-23 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/digic_boards.c | 71 +++ 1 file changed, 71 insertions(+) diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index 77cfc81..bf6e015 100644 --- a/hw/arm/digic_boards.c +++ b/hw

[Qemu-devel] [PATCH v6 3/5] hw/arm/digic: add timer support

2013-10-23 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/digic.c | 28 ++ hw/timer/Makefile.objs | 1 + hw/timer/digic-timer.c | 140 + hw/timer/digic-timer.h | 36 + include/hw/arm/digic.h | 6 +++ 5 files

[Qemu-devel] [PATCH v6 4/5] hw/arm/digic: add UART support

2013-10-23 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org --- hw/arm/digic.c | 16 hw/char/Makefile.objs | 1 + hw/char/digic-uart.c | 195 + hw/char/digic-uart.h | 45

Re: [Qemu-devel] [RFC v5 4/5] hw/arm/digic: add UART support

2013-10-22 Thread Antony Pavlov
On Thu, 17 Oct 2013 18:54:28 +0100 Peter Maydell peter.mayd...@linaro.org wrote: On 7 September 2013 08:04, Antony Pavlov antonynpav...@gmail.com wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- a/hw/arm/digic_boards.c +++ b/hw/arm/digic_boards.c @@ -26,6 +26,13

Re: [Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support

2013-10-22 Thread Antony Pavlov
5e 01 00barebox..^.. f930: 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 canon / --  Best regards,   Antony Pavlov

Re: [Qemu-devel] Networking in QEMU

2013-10-11 Thread Antony Pavlov
/malta-linux-gnu/default Also you can use VDE2 with qemu. See this file: https://github.com/frantony/clab/blob/master/qemu-configs/malta-linux-gnu/vde-network --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [v2 00/71] Integrating Kconfig to Qemu

2013-09-29 Thread Antony Pavlov
create mode 16 scripts/kconfig -- 1.8.1.2 -- --  Best regards,   Antony Pavlov

Re: [Qemu-devel] [RFC v5 0/5] hw/arm: add initial support for Canon DIGIC SoC: ping-ping-ping

2013-09-28 Thread Antony Pavlov
On Fri, 20 Sep 2013 13:01:14 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping-ping-ping On Fri, 13 Sep 2013 18:37:27 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping-ping On Sat, 7 Sep 2013 11:04:22 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping [RFC v5

Re: [Qemu-devel] [RFC v3 0/2] use sizes.h macros for power-of-two sizes

2013-09-23 Thread Antony Pavlov
On Fri, 13 Sep 2013 11:33:24 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping Changes since v2: * commit messages: drop ALL 'Reviewed-by' tags. Drop Aurelien Jarno's tag because the patchseries was completely reworked, so it need additional review. Changes since v1

Re: [Qemu-devel] [RFC v5 0/5] hw/arm: add initial support for Canon DIGIC SoC: ping-ping

2013-09-20 Thread Antony Pavlov
On Fri, 13 Sep 2013 18:37:27 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping-ping On Sat, 7 Sep 2013 11:04:22 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping [RFC v5 1/5] hw/arm: add very initial support for Canon DIGIC SoC [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based

[Qemu-devel] [RFC v3 1/2] include/qemu: introduce sizes.h

2013-09-13 Thread Antony Pavlov
The header file sizes.h is used in linux kernel, barebox bootloader and u-boot bootloader. It provides the short and easy-to-read names for power-of-two numbers. The numbers like this are othen used for memory range sizes. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- include/qemu

[Qemu-devel] [RFC v3 0/2] use sizes.h macros for power-of-two sizes

2013-09-13 Thread Antony Pavlov
Changes since v2: * commit messages: drop ALL 'Reviewed-by' tags. Drop Aurelien Jarno's tag because the patchseries was completely reworked, so it need additional review. Changes since v1: * include/sizes.h - include/qemu/sizes.h * fix copyright header; * fix formatting: drop tabs; * use

[Qemu-devel] [RFC v3 2/2] hw/mips: use sizes.h macros

2013-09-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/mips/mips_malta.c | 25 + include/hw/mips/bios.h | 3 ++- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c index 05c8771..604832f 100644 --- a/hw/mips

Re: [Qemu-devel] [RFC v5 0/5] hw/arm: add initial support for Canon DIGIC SoC

2013-09-13 Thread Antony Pavlov
On Sat, 7 Sep 2013 11:04:22 +0400 Antony Pavlov antonynpav...@gmail.com wrote: ping [RFC v5 1/5] hw/arm: add very initial support for Canon DIGIC SoC [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support [RFC v5 3/5] hw/arm/digic: add timer support [RFC v5 4/5] hw/arm/digic: add UART

[Qemu-devel] [RFC v2 0/2] use sizes.h macros for power-of-two sizes

2013-09-12 Thread Antony Pavlov
Changes since v1: * include/sizes.h - include/qemu/sizes.h * fix copyright header; * fix formatting: drop tabs; * use the BIT() macro, so it's easy-to-read the constants column; also the BIT() macro casts constant to UL; * rebase on updated master; * take into account the mips_malta:

[Qemu-devel] [RFC v2 1/2] include/qemu: introduce sizes.h

2013-09-12 Thread Antony Pavlov
The header file sizes.h is used in linux kernel, barebox bootloader and u-boot bootloader. It provides the short and easy-to-read names for power-of-two numbers. The numbers like this are othen used for memory range sizes. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Aurelien

[Qemu-devel] [RFC v2 2/2] hw/mips: use sizes.h macros

2013-09-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com Reviewed-by: Aurelien Jarno aurel...@aurel32.net --- hw/mips/mips_malta.c | 25 + include/hw/mips/bios.h | 3 ++- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/hw/mips/mips_malta.c b/hw/mips

[Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support

2013-09-07 Thread Antony Pavlov
Also this patch adds initial support for Canon PowerShot A1100 IS compact camera. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- hw/arm/Makefile.objs | 1 + hw/arm/digic_boards.c | 88 +++ 2 files changed, 89 insertions(+) create mode

  1   2   >