[Qemu-devel] [PATCH 4/4] timer/m48t59.c: Change qemu_system_reset_request to watchdog_perform_action where appropriate

2016-03-14 Thread Nikos Filippakis
Instead of using qemu_system_reset_request() to reset when a watchdog triggers, let watchdog_perform_action() decide what to do, as stated in the BiteSizedTasks wiki page. Signed-off-by: Nikos Filippakis <aesm...@gmail.com> --- hw/timer/m48t59.c | 3 ++- 1 file changed, 2 insertions

[Qemu-devel] [PATCH 3/4] etraxfs_timer: Change qemu_system_reset_request to watchdog_perform_action where appropriate

2016-03-14 Thread Nikos Filippakis
Instead of using qemu_system_reset_request() to reset when a watchdog triggers, let watchdog_perform_action() decide what to do, as stated in the BiteSizedTasks wiki page. Signed-off-by: Nikos Filippakis <aesm...@gmail.com> --- hw/timer/etraxfs_timer.c | 3 ++- 1 file changed, 2 insertions

[Qemu-devel] [PATCH 2/4] omap1: Change qemu_system_reset_request to watchdog_perform_action where appropriate

2016-03-14 Thread Nikos Filippakis
Instead of using qemu_system_reset_request() to reset when a watchdog triggers, let watchdog_perform_action() decide what to do, as stated in the BiteSizedTasks wiki page. Signed-off-by: Nikos Filippakis <aesm...@gmail.com> --- hw/arm/omap1.c | 3 ++- 1 file changed, 2 insertions(+), 1 de

[Qemu-devel] [PATCH 1/4] musicpal: Change qemu_system_reset_request to watchdog_perform_action where appropriate

2016-03-14 Thread Nikos Filippakis
Instead of using qemu_system_reset_request() to reset when a watchdog triggers, let watchdog_perform_action() decide what to do, as stated in the BiteSizedTasks wiki page. Signed-off-by: Nikos Filippakis <aesm...@gmail.com> --- hw/arm/musicpal.c | 3 ++- 1 file changed, 2 insertions

[Qemu-devel] [PATCH v3] net.c: Moved large array in nc_sendv_compat from the stack to the heap

2016-03-14 Thread Nikos Filippakis
Allocate array in nc_sendv_compat on the heap if it is large to reduce stack frame size, as stated in the BiteSizedTasks wiki page. Signed-off-by: Nikos Filippakis <aesm...@gmail.com> --- net/net.c | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-)

[Qemu-devel] [PATCH v2] net.c: Moved large array in nc_sendv_compat from the stack to the heap

2016-03-06 Thread Nikos Filippakis
Allocate large array in nc_sendv_compat on the heap to reduce stack frame size, as stated in the BiteSizedTasks wiki page. Signed-off-by: Nikos Filippakis <aesm...@gmail.com> --- net/net.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/net/net.c

Re: [Qemu-devel] [PATCH] net.c: Moved large array in nc_sendv_compat from the stack to the heap

2016-03-06 Thread Nikos Filippakis
Thank you for your comments! On Sun, Mar 6, 2016 at 9:47 AM, Alex Bennée <alex.ben...@linaro.org> wrote: > > > Nikos Filippakis <aesm...@gmail.com> writes: > > > Hello everyone! I am interested in getting to know the codebase a little > > better > >

[Qemu-devel] [PATCH] net.c: Moved large array in nc_sendv_compat from the stack to the heap

2016-03-05 Thread Nikos Filippakis
Hello everyone! I am interested in getting to know the codebase a little better so that I can eventually apply for a GSOC position. This is my first attempt at posting a patch to a mailing list, any feedback is greatly appreciated. Signed-off-by: Nikos Filippakis <aesm...@gmail.com> --