[gem5-dev] Change in gem5/gem5[master]: dev-arm: Add new VExpress_GEM5_V1_Base Platform

2018-06-06 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/10807 Change subject: dev-arm: Add new VExpress_GEM5_V1_Base Platform .. dev-arm: Add new VExpress_GEM5_V1_Base Platform Add a new

[gem5-dev] Change in gem5/gem5[master]: dev-arm: Use recurseDeviceTree instead of custom in platform

2018-06-05 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/10781 Change subject: dev-arm: Use recurseDeviceTree instead of custom in platform .. dev-arm: Use recurseDeviceTree instead of

[gem5-dev] Change in gem5/gem5[master]: sim: Use the canonical way of iterating over a dictionary

2018-06-05 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/10782 Change subject: sim: Use the canonical way of iterating over a dictionary .. sim: Use the canonical way of iterating over a

[gem5-dev] Change in gem5/gem5[master]: dev-arm: Add a VirtIO MMIO device to VExpress_GEM5_V1

2018-06-05 Thread Andreas Sandberg (Gerrit)
M5_V1 .. dev-arm: Add a VirtIO MMIO device to VExpress_GEM5_V1 Add an ARM-specific VirtIO MMIO device to the VExpress_GEM5_V1 platform. Change-Id: Id1e75398e039aad9d637f46f653cda9084d3d2fe Signed-off-by: Andreas Sandberg Reviewed-by: Sudhansh

[gem5-dev] Change in gem5/gem5[master]: dev-arm: Add a MMIO transport interface for VirtIO

2018-06-05 Thread Andreas Sandberg (Gerrit)
Queue alignment is assumed to be hard-coded to VirtQueue::ALIGN_SIZE (4096 bytes). * Only 4096 byte pages are currently supported. Change-Id: Ifd318f5e5bddab0b6a42d8c8af9ff2fbb477f98b Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris Reviewed-by: Rekai Gonzalez Alberquilla --- M sr

[gem5-dev] Change in gem5/gem5[master]: dev-arm: Add a GIC interrupt adaptor

2018-06-05 Thread Andreas Sandberg (Gerrit)
device model to generate both PPIs and SPIs (e.g., the PMU). Change-Id: I73d6591c168040faef2443430c4f1da10c387a2a Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris --- M src/dev/arm/Gic.py M src/dev/arm/base_gic.cc M src/dev/arm/base_gic.hh 3 files changed, 171 insertions(+), 4 deletions(

[gem5-dev] Change in gem5/gem5[master]: dev-arm: Add a MMIO transport interface for VirtIO

2018-06-05 Thread Andreas Sandberg (Gerrit)
ed to be hard-coded to VirtQueue::ALIGN_SIZE (4096 bytes). * Only 4096 byte pages are currently supported. Change-Id: Ifd318f5e5bddab0b6a42d8c8af9ff2fbb477f98b Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris Reviewed-by: Rekai Gonzalez Alberquilla --- M src/dev/arm/SConscript

[gem5-dev] Change in gem5/gem5[master]: dev-arm: Add a VirtIO MMIO device to VExpress_GEM5_V1

2018-06-05 Thread Andreas Sandberg (Gerrit)
M5_V1 .. dev-arm: Add a VirtIO MMIO device to VExpress_GEM5_V1 Add an ARM-specific VirtIO MMIO device to the VExpress_GEM5_V1 platform. Change-Id: Id1e75398e039aad9d637f46f653cda9084d3d2fe Signed-off-by: Andreas Sandberg Reviewed-by: Sudhansh

Re: [gem5-dev] hide symbols to speed up linking?

2018-05-24 Thread Andreas Sandberg
Hi Gabe, I think this would make sense. There is a linker/compiler optino, -fvisibility=hidden, that changes the default behaviour. Once you have that, you need to explicitly tell the compiler to make a symbol public using an attribute. I have run into cases where the current policy breaks some P

[gem5-dev] Change in gem5/gem5[master]: arch-arm: Respect EL from translation type

2018-05-23 Thread Andreas Sandberg (Gerrit)
h-arm: Respect EL from translation type There are cases where instructions request translations in the context of a lower EL. This is currently not respected in the TLB and the page table walker. Fix that. Change-Id: Icd59657a1ecfd8bd75a001bb1a4e41a6f4808a36 Signed-off-by: Andreas Sandberg Review

[gem5-dev] Change in gem5/gem5[master]: arch-arm: Perform stage 2 lookups using the EL2 state

2018-05-23 Thread Andreas Sandberg (Gerrit)
state .. arch-arm: Perform stage 2 lookups using the EL2 state Change-Id: Ic56b694f22a26e9c208a10e5703d4b5b0900070f Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/arch/arm/stage2_lookup.cc 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arc

[gem5-dev] Change in gem5/gem5[master]: arch-arm: Fix page size handling when merging stage 1 and 2

2018-05-23 Thread Andreas Sandberg (Gerrit)
nd when it has a smaller page size. Change-Id: Icdf289005bf1e4de4d91d54643924a38d9d77796 Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/arch/arm/stage2_lookup.cc 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/arch/arm/stage2_lookup.cc b/sr

Re: [gem5-dev] Either delete arm github linux kernel mirrors, or setup auto update, remove issue tracker an link to upstream

2018-05-17 Thread Andreas Sandberg
On 16/05/2018 08:10, Ciro Santilli wrote: I recommend keeping them on GitHub but with fixes mentioned on title. https://github.com/gem5/linux-arm64-gem5 https://github.com/gem5/linux-arm-gem5 I would be OK removing these repositories as they contain the old kernels (they match arm/linux-{arm,a

[gem5-dev] Change in gem5/gem5[master]: arch-arm: Fix semihosting arg count for SYS_GET_CMDLINE

2018-05-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/10022 ) Change subject: arch-arm: Fix semihosting arg count for SYS_GET_CMDLINE .. arch-arm: Fix semihosting arg count for

[gem5-dev] Change in gem5/gem5[master]: arch-arm: Add support for semihosting STDIO redirection

2018-05-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/10021 ) Change subject: arch-arm: Add support for semihosting STDIO redirection .. arch-arm: Add support for semihosting

[gem5-dev] Change in gem5/gem5[master]: base, dev: Fix port message for vnc and terminal

2018-05-09 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/10026 ) Change subject: base, dev: Fix port message for vnc and terminal .. base, dev: Fix port message for vnc and terminal

[gem5-dev] Change in gem5/gem5[master]: dev: Add support for a simple debug UART

2018-05-08 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/10025 ) Change subject: dev: Add support for a simple debug UART .. dev: Add support for a simple debug UART Add a simple

[gem5-dev] Change in gem5/gem5[master]: base, dev: Fix port message for vnc and terminal

2018-04-18 Thread Andreas Sandberg (Gerrit)
ename ('terminal' or 'vncserver') and print that instead of system. However, this doesn't seem to work any more. Change the code to output the full object name instead. Change-Id: Ib27f66a5f8ba64c7a875b4e2f26a2e2ff48db8f3 Signed-off-by: Andreas Sandberg Reviewed-by: Anou

[gem5-dev] Change in gem5/gem5[master]: dev: Add support for a simple debug UART

2018-04-18 Thread Andreas Sandberg (Gerrit)
Change-Id: I1e4300e4d3b70825a15d03f47d4e026941f9066c Signed-off-by: Andreas Sandberg Reviewed-by: Jack Travaglini --- M src/dev/serial/SConscript M src/dev/serial/Uart.py A src/dev/serial/simple.cc A src/dev/serial/simple.hh 4 files changed, 180 insertions(+), 0 deletions(-) diff --git a/src/

[gem5-dev] Change in gem5/gem5[master]: dev, arm: Add support for HYP & secure timers

2018-04-18 Thread Andreas Sandberg (Gerrit)
dev, arm: Add support for HYP & secure timers Change-Id: I1a4849283f9bd5b1856e1378f7cefc33fc14eebd Signed-off-by: Andreas Sandberg Reviewed-by: Curtis Dunham --- M src/arch/arm/miscregs.cc M src/dev/arm/RealView.py M src/dev/arm/generic_timer.cc M src/dev/arm/generic_timer.hh 4 files changed, 1

[gem5-dev] Change in gem5/gem5[master]: system-arm: Update gem5 timer interrupt specification

2018-04-18 Thread Andreas Sandberg (Gerrit)
28d8b208727119ff20e581311f8 Gerrit-Change-Number: 10024 Gerrit-PatchSet: 1 Gerrit-Owner: Andreas Sandberg Gerrit-Reviewer: Gabor Dozsa Gerrit-MessageType: newchange ___ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: arch-arm: Add support for semihosting STDIO redirection

2018-04-18 Thread Andreas Sandberg (Gerrit)
en running in interactive mode. Add support for custom STDIO redirection when instantiating the Semihosting model. Change-Id: I3411a6b9bfb008ffc3087d8837f59be72bd1e8ae Signed-off-by: Andreas Sandberg Reviewed-by: Anouk Van Laer Reviewed-by: Jack Travaglini --- M src/arch/arm/ArmSemihosting.py M sr

[gem5-dev] Change in gem5/gem5[master]: arch-arm: Fix semihosting arg count for SYS_GET_CMDLINE

2018-04-18 Thread Andreas Sandberg (Gerrit)
DLINE .. arch-arm: Fix semihosting arg count for SYS_GET_CMDLINE SYS_GET_CMDLINE was declared as having 1 parameter when it is really supposed to have two parameters. Change-Id: Ia364abb4b34834f4d5e598b5adee9585e0815ac8 Reported-by: Steve Capper Signed-off-by: Andreas Sandberg Reviewed-by:

[gem5-dev] Change in gem5/gem5[master]: dev, arm: Cleanup Pl050 interrupt handling

2018-04-18 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9769 ) Change subject: dev, arm: Cleanup Pl050 interrupt handling .. dev, arm: Cleanup Pl050 interrupt handling Add support

[gem5-dev] Change in gem5/gem5[master]: dev, arm: Use the PS/2 framework in the Pl050 model

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9767 ) Change subject: dev, arm: Use the PS/2 framework in the Pl050 model .. dev, arm: Use the PS/2 framework in the Pl050

[gem5-dev] Change in gem5/gem5[master]: ps2: Unify constant names

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9770 ) Change subject: ps2: Unify constant names .. ps2: Unify constant names Move ps2.hh to dev/ps2/types.hh and update

[gem5-dev] Change in gem5/gem5[master]: ps2: Add proper touchscreen command handling

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9768 ) Change subject: ps2: Add proper touchscreen command handling .. ps2: Add proper touchscreen command handling The

[gem5-dev] Change in gem5/gem5[master]: ps2: Implement the keyboard reset command

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9766 ) Change subject: ps2: Implement the keyboard reset command .. ps2: Implement the keyboard reset command Linux tries

[gem5-dev] Change in gem5/gem5[master]: ps2: Unify device data buffering

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9765 ) Change subject: ps2: Unify device data buffering .. ps2: Unify device data buffering All PS/2 device currently

[gem5-dev] Change in gem5/gem5[master]: ps2: Unify device data buffering

2018-04-17 Thread Andreas Sandberg (Gerrit)
ge-Id: If5638b0ab68decea8de7631ecead0a9ebad1547b Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2/device.cc M src/dev/ps2/device.hh M src/dev/ps2/keyboard.cc M src/dev/ps2/keyboard.hh M src/dev/ps2/mouse.cc M src/dev/ps2/mouse.hh M src/dev/ps2/touchkit.cc M src/dev/ps2/touchkit.hh 8 files changed

[gem5-dev] Change in gem5/gem5[master]: ps2: Factor out PS/2 devices into their own subsystem

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9762 ) Change subject: ps2: Factor out PS/2 devices into their own subsystem .. ps2: Factor out PS/2 devices into their own

[gem5-dev] Change in gem5/gem5[master]: ps2: Add VNC support to the keyboard model

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9763 ) Change subject: ps2: Add VNC support to the keyboard model .. ps2: Add VNC support to the keyboard model Add support

[gem5-dev] Change in gem5/gem5[master]: ps2: Add a simple touchscreen model

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9764 ) Change subject: ps2: Add a simple touchscreen model .. ps2: Add a simple touchscreen model Add a touchscreen model

[gem5-dev] Change in gem5/gem5[master]: mem: Add a helper function to get a word of variable length

2018-04-17 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9761 ) Change subject: mem: Add a helper function to get a word of variable length .. mem: Add a helper function to get a

[gem5-dev] Change in gem5/gem5[master]: ps2: Add a simple touchscreen model

2018-04-16 Thread Andreas Sandberg (Gerrit)
model .. ps2: Add a simple touchscreen model Add a touchscreen model that is compatible with Linux's TouchKit driver. This model is based on the model in the Arm PL050 KMI model. Change-Id: Id4d88a21a26bb42c455e4d778cd89875f650ac57 Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini

[gem5-dev] Change in gem5/gem5[master]: ps2: Unify device data buffering

2018-04-16 Thread Andreas Sandberg (Gerrit)
ge-Id: If5638b0ab68decea8de7631ecead0a9ebad1547b Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2/device.cc M src/dev/ps2/device.hh M src/dev/ps2/keyboard.cc M src/dev/ps2/keyboard.hh M src/dev/ps2/mouse.cc M src/dev/ps2/mouse.hh M src/dev/ps2/touchkit.cc M src/dev/ps2/touchkit.hh 8 files changed

[gem5-dev] Change in gem5/gem5[master]: ps2: Add VNC support to the keyboard model

2018-04-16 Thread Andreas Sandberg (Gerrit)
model .. ps2: Add VNC support to the keyboard model Add support for keyboard input from the VNC server in the PS/2 keyboard model. The introduced code is based on the functionality in the Arm PL050 KMI model. Change-Id: If04a9713e5a15e2149d1a7471b999e3060d8ee7d Signed-off-by: Andreas San

[gem5-dev] Change in gem5/gem5[master]: ps2: Unify constant names

2018-04-16 Thread Andreas Sandberg (Gerrit)
Unify constant names Move ps2.hh to dev/ps2/types.hh and update the device models to consistently use well-known constants from this header. Change-Id: Iadfdc774495957beb82f3d341107b1e9232ffd4c Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/SConscript M src/de

[gem5-dev] Change in gem5/gem5[master]: ps2: Add proper touchscreen command handling

2018-04-16 Thread Andreas Sandberg (Gerrit)
ff-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2/touchkit.cc M src/dev/ps2/touchkit.hh 2 files changed, 82 insertions(+), 21 deletions(-) -- To view, visit https://gem5-review.googlesource.com/9768 To unsubscribe, or for help writing mail filters, visit https:/

[gem5-dev] Change in gem5/gem5[master]: ps2: Add a simple touchscreen model

2018-04-16 Thread Andreas Sandberg (Gerrit)
model .. ps2: Add a simple touchscreen model Add a touchscreen model that is compatible with Linux's TouchKit driver. This model is based on the model in the Arm PL050 KMI model. Change-Id: Id4d88a21a26bb42c455e4d778cd89875f650ac57 Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini

[gem5-dev] Change in gem5/gem5[master]: ps2: Implement the keyboard reset command

2018-04-16 Thread Andreas Sandberg (Gerrit)
mmand .. ps2: Implement the keyboard reset command Linux tries to reset the PS/2 keyboard at boot. Change-Id: I727fbf6138b654885d82d85be9d964ee3d3365ef Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2/keyboard.cc 1 file changed, 6 insertions(+), 2 dele

[gem5-dev] Change in gem5/gem5[master]: ps2: Factor out PS/2 devices into their own subsystem

2018-04-16 Thread Andreas Sandberg (Gerrit)
r out the x86 keyboard and mouse model. A subsequent commit will implement support for this interface in the Arm KMI model. Change-Id: I440e83517fd9dce362fdc1676db477cc6eee5211 Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2.hh A src/dev/ps2/PS2.py A src/de

[gem5-dev] Change in gem5/gem5[master]: dev, arm: Cleanup Pl050 interrupt handling

2018-04-16 Thread Andreas Sandberg (Gerrit)
dev, arm: Cleanup Pl050 interrupt handling Add support for TX interrupts and cleanup existing RX interrupt handling. Change-Id: If2e5b0c0cc6fbeb2dce09e7e9d935647516b2c47 Signed-off-by: Andreas Sandberg Reviewed-by: Sudhanshu Jha Reviewed-by: Giacomo Travaglini --- M src/dev/arm/RealView.py M sr

[gem5-dev] Change in gem5/gem5[master]: ps2: Add VNC support to the keyboard model

2018-04-12 Thread Andreas Sandberg (Gerrit)
model .. ps2: Add VNC support to the keyboard model Add support for keyboard input from the VNC server in the PS/2 keyboard model. The introduced code is based on the functionality in the Arm PL050 KMI model. Change-Id: If04a9713e5a15e2149d1a7471b999e3060d8ee7d Signed-off-by: Andreas San

[gem5-dev] Change in gem5/gem5[master]: dev, arm: Cleanup Pl050 interrupt handling

2018-04-11 Thread Andreas Sandberg (Gerrit)
, arm: Cleanup Pl050 interrupt handling Add support for TX interrupts and cleanup existing RX interrupt handling. Change-Id: If2e5b0c0cc6fbeb2dce09e7e9d935647516b2c47 Signed-off-by: Andreas Sandberg Reviewed-by: Sudhanshu Jha Reviewed-by: Giacomo Travaglini --- M src/dev/arm/RealView.py M src/de

[gem5-dev] Change in gem5/gem5[master]: ps2: Add proper touchscreen command handling

2018-04-11 Thread Andreas Sandberg (Gerrit)
: Add proper touchscreen command handling The touchscreen model used ad-hoc mechanisms to enable/disable the device. Use standard PS/2 commands to activate/deactivate the device. Add proper TouchKit command handling. Change-Id: I0c5a2e2b47639f36ab3ee07e3e559f11afa54b9d Signed-off-by: Andreas San

[gem5-dev] Change in gem5/gem5[master]: ps2: Unify device data buffering

2018-04-11 Thread Andreas Sandberg (Gerrit)
ff-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2/device.cc M src/dev/ps2/device.hh M src/dev/ps2/keyboard.cc M src/dev/ps2/keyboard.hh M src/dev/ps2/mouse.cc M src/dev/ps2/mouse.hh M src/dev/ps2/touchkit.cc M src/dev/ps2/touchkit.hh 8 files changed, 111 insertions(+)

[gem5-dev] Change in gem5/gem5[master]: ps2: Add VNC support to the keyboard model

2018-04-11 Thread Andreas Sandberg (Gerrit)
: Add VNC support to the keyboard model Add support for keyboard input from the VNC server in the PS/2 keyboard model. The introduced code is based on the functionality in the Arm PL050 KMI model. Change-Id: If04a9713e5a15e2149d1a7471b999e3060d8ee7d Signed-off-by: Andreas Sandberg Reviewed-by: Gi

[gem5-dev] Change in gem5/gem5[master]: ps2: Add a simple touchscreen model

2018-04-11 Thread Andreas Sandberg (Gerrit)
imple touchscreen model Add a touchscreen model that is compatible with Linux's TouchKit driver. This model is based on the model in the Arm PL050 KMI model. Change-Id: Id4d88a21a26bb42c455e4d778cd89875f650ac57 Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps

[gem5-dev] Change in gem5/gem5[master]: dev, arm: Use the PS/2 framework in the Pl050 model

2018-04-11 Thread Andreas Sandberg (Gerrit)
model .. dev, arm: Use the PS/2 framework in the Pl050 model The Pl050 KMI model currently has its own keyboard and mouse models. Use the generic PS/2 interface instead. Change-Id: I6523d26f8e38bcc8ba399d4d1a131723645d36c7 Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/de

[gem5-dev] Change in gem5/gem5[master]: mem: Add a helper function to get a word of variable length

2018-04-11 Thread Andreas Sandberg (Gerrit)
o the desired endianness. Change-Id: I2f0c27fe3903abf3859bea13b07c7f5f0fb0809f Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris --- M src/mem/packet.cc M src/mem/packet.hh 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/src/mem/packet.cc b/src/mem/packet.cc index ff

[gem5-dev] Change in gem5/gem5[master]: ps2: Factor out PS/2 devices into their own subsystem

2018-04-11 Thread Andreas Sandberg (Gerrit)
el. A subsequent commit will implement support for this interface in the Arm KMI model. Change-Id: I440e83517fd9dce362fdc1676db477cc6eee5211 Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2.hh A src/dev/ps2/PS2.py A src/dev/ps2/SConscript A src/dev/ps2/device.cc

[gem5-dev] Change in gem5/gem5[master]: ps2: Unify constant names

2018-04-11 Thread Andreas Sandberg (Gerrit)
names Move ps2.hh to dev/ps2/types.hh and update the device models to consistently use well-known constants from this header. Change-Id: Iadfdc774495957beb82f3d341107b1e9232ffd4c Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/SConscript M src/dev/arm/kmi.cc M src/de

[gem5-dev] Change in gem5/gem5[master]: ps2: Implement the keyboard reset command

2018-04-11 Thread Andreas Sandberg (Gerrit)
ps2: Implement the keyboard reset command Linux tries to reset the PS/2 keyboard at boot. Change-Id: I727fbf6138b654885d82d85be9d964ee3d3365ef Signed-off-by: Andreas Sandberg Reviewed-by: Giacomo Travaglini --- M src/dev/ps2/keyboard.cc 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [gem5-dev] Fix opengrok or remove the link from gem.org sidebar

2018-04-11 Thread Andreas Sandberg
How about switching to a hosted service that integrates with our git repositories directly? I have played around with insight.io, but it seems like they require you to login to the server using your GitHub credentials to access public repos. Something that doesn't require a separate login would b

Re: [gem5-dev] Fwd: Make me a collaborator on GitHub to better manage issues

2018-04-09 Thread Andreas Sandberg
Hi Everyone, I think the first thing we need to establish is whether we want to use GitHub for issue tracking in the first place. The issue tracker there was left enabled by accident. As some of you may recall, we used to run a Flyspray-based issue tracker a long time ago. If memory serves me ri

[gem5-dev] GDB in KVM (was: Re: virtual timer in ARM KVM)

2018-04-06 Thread Andreas Sandberg
On 05/04/2018 23:12, Gabe Black wrote: On Thu, Apr 5, 2018 at 8:14 AM, Andreas Sandberg mailto:andreas.sandb...@arm.com>> wrote: I've also seen very weird behavior as far as how many instructions KVM thinks are being executed per tick, so I wouldn't discount there being somethi

Re: [gem5-dev] virtual timer in ARM KVM

2018-04-05 Thread Andreas Sandberg
On 05/04/2018 03:42, Gabe Black wrote: Hi folks. I'm continuing to try to iron out problems with KVM on ARM, and the problem I'm working on specifically right now is that the mouse device gets spurious bad command bytes which panics gem5. What I've found so far is that the guest kernel will fr

Re: [gem5-dev] Multicore ARM v8 KVM based simulation

2018-04-04 Thread Andreas Sandberg
l...@google.com>> wrote: Ok, thanks. We're deciding internally what approach to use to tackle this. Gabe On Wed, Mar 21, 2018 at 3:01 AM, Andreas Sandberg mailto:andreas.sandb...@arm.com>> wrote: Hi Gabe, There are issues with the IDE model that prevent it from working with in-

Re: [gem5-dev] Multicore ARM v8 KVM based simulation

2018-04-04 Thread Andreas Sandberg
DMA debug flag, but that produced so much debug output that my tools are crashing. I'll have to see what I can do to narrow things down a bit. Gabe On Thu, Mar 22, 2018 at 11:28 AM, Gabe Black mailto:gabebl...@google.com>> wrote: Ok, thanks. We're deciding internally what approa

Re: [gem5-dev] Protobuf compilation errors

2018-03-23 Thread Andreas Sandberg
e the few warnings that # we consistently violate -main.Append(CCFLAGS=['-Wall', '-Wundef', '-Wextra', +main.Append(CCFLAGS=['-Wall', '-Wextra', '-Wno-sign-compare', '-Wno-unused-parameter'])

[gem5-dev] Protobuf compilation errors

2018-03-21 Thread Andreas Sandberg
Hi Everyone, We have been experiencing some issues with some combinations of different versions of protobuf and gcc/clang. Most of the issues seem to be related to undefined macros (-Wundef), but I have some vague memories of other issues as well (unclear indentation?). In the short term, it see

Re: [gem5-dev] Multicore ARM v8 KVM based simulation

2018-03-21 Thread Andreas Sandberg
en I tried using fs_bigLITTLE.py I ran into what looked like a similar issue so that might not be the whole story, but it's definitely something I should fix up. I'll let you know how that goes! Gabe On Mon, Mar 19, 2018 at 4:30 AM, Andreas Sandberg mailto:andreas.sandb...@arm.co

Re: [gem5-dev] Multicore ARM v8 KVM based simulation

2018-03-19 Thread Andreas Sandberg
Is there some existing debug output which would let me see where KVM thinks it is periodically to see if it's in the kernel or if it went bananas and is executing random memory somewhere? Or if it just got stuck waiting for some event that's not going to show up? Are there any importa

Re: [gem5-dev] Multicore ARM v8 KVM based simulation

2018-03-14 Thread Andreas Sandberg
Have you tried using the fs_bigLITTLE script in configs/examples/arm? That's the script I have been using for testing. I just tested the script with 8 little CPUs and 0 big CPUs and it seems to work. Timing is a bit temperamental though, so you might need to override the simulation quantum. The d

[gem5-dev] Linux 4.14 and 4.15 with gem5 patches now available for Arm

2018-03-07 Thread Andreas Sandberg
Hi Everyone, I'm happy to announce that we have just completed testing of the gem5-specific patches for Linux 4.14 and 4.15. The new kernel sources can be downloaded from the gem5/v4.14 [1] and gem5/v4.15 branches in the arm/linux [3] project on Gerrit. Most users should prefer the 4.14 kernel as

[gem5-dev] Change in public/gem5[master]: arch-arm: Semihosting not available in syscall emulation

2018-02-19 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Giacomo Travaglini. ( https://gem5-review.googlesource.com/8367 ) Change subject: arch-arm: Semihosting not available in syscall emulation .. arch-arm: Semihosting not available in

[gem5-dev] Change in public/gem5[master]: cpu-o3: Don't add non-speculative mem barriers to the IQ twice

2018-02-19 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/8374 Change subject: cpu-o3: Don't add non-speculative mem barriers to the IQ twice .. cpu-o3: Don't add non-specu

[gem5-dev] Change in public/gem5[master]: mem: Refactor port proxies to support secure accesses

2018-02-19 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Andreas Sandberg. ( https://gem5-review.googlesource.com/8364 ) Change subject: mem: Refactor port proxies to support secure accesses .. mem: Refactor port proxies to support secure

[gem5-dev] Change in public/gem5[master]: arch-arm: Add aarch64 semihosting support

2018-02-19 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Andreas Sandberg. ( https://gem5-review.googlesource.com/8147 ) Change subject: arch-arm: Add aarch64 semihosting support .. arch-arm: Add aarch64 semihosting support Add basic support

[gem5-dev] Change in public/gem5[master]: arch-arm: Add support for secure state in semihosting

2018-02-19 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Andreas Sandberg. ( https://gem5-review.googlesource.com/8365 ) Change subject: arch-arm: Add support for secure state in semihosting .. arch-arm: Add support for secure state in

[gem5-dev] Change in public/gem5[master]: arch-arm: Add aarch64 semihosting support

2018-02-16 Thread Andreas Sandberg (Gerrit)
ports all of the Semihosting 2.0 specification in aarch64. [1] https://developer.arm.com/docs/100863/latest/preface Change-Id: I08c153c18a4a4fb9f95d318e2a029724935192a7 Signed-off-by: Andreas Sandberg Reviewed-by: Jack Travaglini Reviewed-by: Nikos Nikoleris --- A src/arch/arm/ArmSemihosting.py

[gem5-dev] Change in public/gem5[master]: mem: Refactor port proxies to support secure accesses

2018-02-16 Thread Andreas Sandberg (Gerrit)
of Request::Flags as an argument. The new port proxy, SecurePortProxy, uses this interface to issue secure physical accesses. Change-Id: I8232a4b35025be04ec8f91a00f0580266bacb338 Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris --- M src/mem/fs_translating_port_proxy.cc

[gem5-dev] Change in public/gem5[master]: arch-arm: Add support for secure state in semihosting

2018-02-16 Thread Andreas Sandberg (Gerrit)
tatic constexpr RetErrno retError(SemiErrno e) { -- To view, visit https://gem5-review.googlesource.com/8365 To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: master Gerrit-MessageType: newchange Ger

[gem5-dev] Change in public/gem5[master]: arch-arm: Fix big endian support in {Load, Store}Double64

2018-02-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Chuan Zhu. ( https://gem5-review.googlesource.com/8145 ) Change subject: arch-arm: Fix big endian support in {Load,Store}Double64 .. arch-arm: Fix big endian support in {Load,Store

[gem5-dev] Change in public/gem5[master]: arch-arm: Fix big endian support in do{Long, L1, L2}Descriptor

2018-02-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Chuan Zhu. ( https://gem5-review.googlesource.com/8144 ) Change subject: arch-arm: Fix big endian support in do{Long,L1,L2}Descriptor .. arch-arm: Fix big endian support in do{Long,L1,L2

[gem5-dev] Change in public/gem5[master]: arch-arm: Add support for automatic reset addr selection

2018-02-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Andreas Sandberg. ( https://gem5-review.googlesource.com/8143 ) Change subject: arch-arm: Add support for automatic reset addr selection .. arch-arm: Add support for automatic reset addr

[gem5-dev] Change in public/gem5[master]: arch-arm: Decode Brk64 instructions

2018-02-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Andreas Sandberg. ( https://gem5-review.googlesource.com/8142 ) Change subject: arch-arm: Decode Brk64 instructions .. arch-arm: Decode Brk64 instructions The brk instruction in aarch64

[gem5-dev] Change in public/gem5[master]: mem: Add PortProxy read/write helper with explicit endianness

2018-02-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Andreas Sandberg. ( https://gem5-review.googlesource.com/8146 ) Change subject: mem: Add PortProxy read/write helper with explicit endianness .. mem: Add PortProxy read/write helper

[gem5-dev] Change in public/gem5[master]: sim: Add gtoh/htog helpers that take an explicit endianness

2018-02-16 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Chuan Zhu. ( https://gem5-review.googlesource.com/8201 ) Change subject: sim: Add gtoh/htog helpers that take an explicit endianness .. sim: Add gtoh/htog helpers that take an explicit

[gem5-dev] Change in public/gem5[master]: dev: Remove unused interrupt controller in Terminal

2018-02-13 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg merged this change by Andreas Sandberg. ( https://gem5-review.googlesource.com/8141 ) Change subject: dev: Remove unused interrupt controller in Terminal .. dev: Remove unused interrupt controller in Terminal

[gem5-dev] Change in public/gem5[master]: arch-arm: Add aarch64 semihosting support

2018-02-13 Thread Andreas Sandberg (Gerrit)
ports all of the Semihosting 2.0 specification in aarch64. [1] https://developer.arm.com/docs/100863/latest/preface Change-Id: I08c153c18a4a4fb9f95d318e2a029724935192a7 Signed-off-by: Andreas Sandberg Reviewed-by: Jack Travaglini Reviewed-by: Nikos Nikoleris --- A src/arch/arm/ArmSemihosting.py

[gem5-dev] Change in public/gem5[master]: sim: Add gtoh/htog helpers that take an explicit endianness

2018-02-13 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/8201 Change subject: sim: Add gtoh/htog helpers that take an explicit endianness .. sim: Add gtoh/htog helpers that take an

[gem5-dev] Change in public/gem5[master]: arch-arm: Add support for automatic reset addr selection

2018-02-13 Thread Andreas Sandberg (Gerrit)
c170de0b90 Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris Reviewed-by: Giacomo Gabrielli --- M src/arch/arm/ArmSystem.py M src/arch/arm/system.cc 2 files changed, 7 insertions(+), 3 deletions(-) -- To view, visit https://gem5-review.googlesource.com/8143 To unsubscribe, or for help wr

[gem5-dev] Change in public/gem5[master]: arch-arm: Fix big endian support in do{Long, L1, L2}Descriptor

2018-02-13 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/8144 ) Change subject: arch-arm: Fix big endian support in do{Long,L1,L2}Descriptor .. arch-arm: Fix big endian support in do{Long,L1

[gem5-dev] Change in public/gem5[master]: arch-arm: Fix big endian support in {Load, Store}Double64

2018-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/8145 Change subject: arch-arm: Fix big endian support in {Load,Store}Double64 .. arch-arm: Fix big endian support in {Load,Store

[gem5-dev] Change in public/gem5[master]: dev: Remove unused interrupt controller in Terminal

2018-02-12 Thread Andreas Sandberg (Gerrit)
minal .. dev: Remove unused interrupt controller in Terminal Change-Id: I412d0b5edf2a08217792fa2ed1e511c17d3d31d4 Signed-off-by: Andreas Sandberg Reviewed-by: Jack Travaglini --- M src/dev/serial/Terminal.py M src/dev/serial/terminal.hh 2 files changed, 0 insertions(+), 2 deletions(-) diff --git

[gem5-dev] Change in public/gem5[master]: arch-arm: Decode Brk64 instructions

2018-02-12 Thread Andreas Sandberg (Gerrit)
ecode Brk64 instructions The brk instruction in aarch64 was decoded as an unimplemented instruction. Fix that. Change-Id: I3eb36a016ab56d882426c5cdef3a0b594de0f9cd Signed-off-by: Andreas Sandberg Reviewed-by: Jack Travaglini --- M src/arch/arm/isa/formats/aarch64.isa 1 file changed, 1 insertion(

[gem5-dev] Change in public/gem5[master]: arch-arm: Fix big endian support in do{Long, L1, L2}Descriptor

2018-02-12 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/8144 Change subject: arch-arm: Fix big endian support in do{Long,L1,L2}Descriptor .. arch-arm: Fix big endian support in do{Long,L1

[gem5-dev] Change in public/gem5[master]: arch-arm: Add aarch64 semihosting support

2018-02-12 Thread Andreas Sandberg (Gerrit)
s all of the Semihosting 2.0 specification in aarch64. [1] https://developer.arm.com/docs/100863/latest/preface Change-Id: I08c153c18a4a4fb9f95d318e2a029724935192a7 Signed-off-by: Andreas Sandberg Reviewed-by: Jack Travaglini Reviewed-by: Nikos Nikoleris --- A src/arch/arm/ArmSemihosting.py

[gem5-dev] Change in public/gem5[master]: arch-arm: Add support for automatic reset addr selection

2018-02-12 Thread Andreas Sandberg (Gerrit)
b90 Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris Reviewed-by: Giacomo Gabrielli --- M src/arch/arm/ArmSystem.py M src/arch/arm/system.cc 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py index f76140b..5687477 10

[gem5-dev] Change in public/gem5[master]: mem: Add PortProxy read/write helper with explicit endianness

2018-02-12 Thread Andreas Sandberg (Gerrit)
nness .. mem: Add PortProxy read/write helper with explicit endianness Change-Id: Ia9a11ca68b2892dafd02f2c37324b99b35c77d34 Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris Reviewed-by: Jack Travaglini --- M src/mem/port_proxy.hh 1 file changed, 32 inser

[gem5-dev] Change in public/gem5[master]: stats: Add beta support for HDF5 stat dumps

2018-02-12 Thread Andreas Sandberg (Gerrit)
]): print i, c, i / c Change-Id: I351c6cbff2fb7bef9012f47876ba227ed288975b Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris --- M SConstruct M src/base/SConscript A src/base/stats/hdf5.cc A src/base/stats/hdf5.hh M src/python/m5/stats/__init__.py M src/python/pybind11/stats.cc 6

Re: [gem5-dev] Non-ISA specific use of ExtMachInst

2018-01-25 Thread Andreas Sandberg
On 23/01/2018 23:10, Gabe Black wrote: Trimmed, responses inline. On Tue, Jan 23, 2018 at 2:23 AM, Andreas Sandberg mailto:andreas.sandb...@arm.com>> wrote: On 22/01/2018 23:53, Gabe Black wrote: It isn't really undermining the idea of having multiple ISAs in the same binary. T

Re: [gem5-dev] Non-ISA specific use of ExtMachInst

2018-01-23 Thread Andreas Sandberg
On 22/01/2018 23:53, Gabe Black wrote: On Mon, Jan 22, 2018 at 2:38 AM, Andreas Sandberg mailto:andreas.sandb...@arm.com>> wrote: Hi Gabe, On 21/01/2018 06:34, Gabe Black wrote: Hi folks. ExtMachInst is a type which is defined per ISA, and is *almost* not used outside of ISA specifi

Re: [gem5-dev] Non-ISA specific use of ExtMachInst

2018-01-22 Thread Andreas Sandberg
Hi Gabe, On 21/01/2018 06:34, Gabe Black wrote: Hi folks. ExtMachInst is a type which is defined per ISA, and is *almost* not used outside of ISA specific code. The three uses for it that I see right now are as a type in the decode cache when decoding instructions, the protobuf based instructio

[gem5-dev] Change in public/gem5[master]: util: Add an option to specify paths in list_changes.py

2018-01-18 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/7461 ) Change subject: util: Add an option to specify paths in list_changes.py .. util: Add an option to specify paths in

[gem5-dev] Change in public/gem5[master]: util: Add an option to specify paths in list_changes.py

2018-01-18 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has uploaded this change for review. ( https://gem5-review.googlesource.com/7461 Change subject: util: Add an option to specify paths in list_changes.py .. util: Add an option to specify paths in

Re: [gem5-dev] Using branching in gem5 public

2017-12-19 Thread Andreas Sandberg
nthony wrote: Hi Andreas, This all makes sense, and I think for our purposes a separate AMD/ repo similar to ARM's setup (option 1 as you say) would be perfect for us. Do you have permissions to create a new repo for AMD? Or can you give me permissions to do so? Thanks, Tony -----Origi

[gem5-dev] Change in public/gem5[master]: cpu-tester: Added ExitGen to TrafficGen

2017-12-19 Thread Andreas Sandberg (Gerrit)
Andreas Sandberg has submitted this change and it was merged. ( https://gem5-review.googlesource.com/5723 ) Change subject: cpu-tester: Added ExitGen to TrafficGen .. cpu-tester: Added ExitGen to TrafficGen Added the ExitGen

<    1   2   3   4   5   6   7   8   9   10   >