From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Huth Subject: Re: [kvm-unit-tests PATCH v2 08/14] powerpc/ppc64: add HV putchar Date: Fri, 12 Feb 2016 18:45:35 +0100 Message-ID: <56BE1A3F.9060004@redhat.com> References: <1454957594-30601-1-git-send-email-drjones@redhat.com> <1454957594-30601-9-git-send-email-drjones@redhat.com> <56BE1187.8050502@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dgibson@redhat.com, david@gibson.dropbear.id.au, agraf@suse.de, lvivier@redhat.com, pbonzini@redhat.com To: Andrew Jones , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59007 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbcBLRpk (ORCPT ); Fri, 12 Feb 2016 12:45:40 -0500 In-Reply-To: <56BE1187.8050502@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 12.02.2016 18:08, Thomas Huth wrote: > On 08.02.2016 19:53, Andrew Jones wrote: >> Add the hvcall for putchar and use it in puts. That, along with a >> couple more lines in start to prepare for C code, and a branch to >> main(), gets us "hello world". Run with >> >> qemu-system-ppc64 -M pseries \ >> -bios powerpc/boot_rom.bin \ >> -display none -serial stdio \ >> -kernel powerpc/selftest.elf >> >> (We're still not relocating yet, that comes in a later patch. Thus, >> testing hello-world at this point requires a hacked QEMU and linking >> the unit test at QEMU's kernel load address.) > > Is that comment still valid? I thought that's what the boot_rom.bin was > good for? Never mind, after reading patch 10/14, it's now clear to me what you mean here. Thomas From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Huth Date: Fri, 12 Feb 2016 17:45:35 +0000 Subject: Re: [kvm-unit-tests PATCH v2 08/14] powerpc/ppc64: add HV putchar Message-Id: <56BE1A3F.9060004@redhat.com> List-Id: References: <1454957594-30601-1-git-send-email-drjones@redhat.com> <1454957594-30601-9-git-send-email-drjones@redhat.com> <56BE1187.8050502@redhat.com> In-Reply-To: <56BE1187.8050502@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Jones , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Cc: dgibson@redhat.com, david@gibson.dropbear.id.au, agraf@suse.de, lvivier@redhat.com, pbonzini@redhat.com On 12.02.2016 18:08, Thomas Huth wrote: > On 08.02.2016 19:53, Andrew Jones wrote: >> Add the hvcall for putchar and use it in puts. That, along with a >> couple more lines in start to prepare for C code, and a branch to >> main(), gets us "hello world". Run with >> >> qemu-system-ppc64 -M pseries \ >> -bios powerpc/boot_rom.bin \ >> -display none -serial stdio \ >> -kernel powerpc/selftest.elf >> >> (We're still not relocating yet, that comes in a later patch. Thus, >> testing hello-world at this point requires a hacked QEMU and linking >> the unit test at QEMU's kernel load address.) > > Is that comment still valid? I thought that's what the boot_rom.bin was > good for? Never mind, after reading patch 10/14, it's now clear to me what you mean here. Thomas