From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>,
Jens Freimann <jfrei@linux.vnet.ibm.com>,
Heinz Graalfs <graalfs@linux.vnet.ibm.com>,
Alexander Graf <agraf@suse.de>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 2/6] s390: sclp base support
Date: Fri, 13 Jul 2012 18:44:08 +0200 [thread overview]
Message-ID: <50005058.6000707@de.ibm.com> (raw)
In-Reply-To: <CAAu8pHuEAt09ZLhzY-Jux4gxYC2NkG=u+2jcHESUCDnGGjcJEg@mail.gmail.com>
Thanks fpr the review,
On 13/07/12 17:08, Blue Swirl wrote:
>> + * Copyright IBM, Corp. 2007, 2012
>
> 2007, really?
Well, yes and no. The first userspace for kvm on s390 was kuli and some of that
code was used for bringup. But it looks pretty different now, so we can
change that to be 2012 as the first release.
[...]
>> + * This work is licensed under the terms of the GNU GPL, version 2. See
>
> Why GPLv2only, can't this be licensed under later versions?
Was simply copied from other qemu files. We can certainly change that to 2 and later.
[...]
>> +int do_sclp_service_call(uint32_t sccb, uint64_t code)
>
> sccb could be target_phys_addr_t.
the architecture explicitely requires to have the 32 msbs to be 0. target_phys_addr_t
would certainly work as well, but
[...]
>> + cpu_physical_memory_write(sccb, &work_sccb,
>> + be16_to_cpu(work_sccb.h.length));
>
> Perhaps the DMA helpers should be used instead.
>
Is there any rule what to use under which circumstances.
[...]
>> +#ifndef _QEMU_S390_SCLP_H
>> +#define _QEMU_S390_SCLP_H
>
> HW_S390_SCLP_H
Ok
[...]
>> +} __attribute__((packed)) SCCBHeader;
>
> QEMU_PACKED
Ok
[...]
>> +extern SCLPS390Bus *sclp_bus;
>
> Global state is suspicious, usually it can be avoided with parameter passing.
[...]
Will check if we can make that go away.
next prev parent reply other threads:[~2012-07-13 16:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-13 10:51 [Qemu-devel] [PATCH 0/6v2] s390: several sclp patches Christian Borntraeger
2012-07-13 10:51 ` [Qemu-devel] [PATCH 1/6] s390: Fix error handling and condition code of service call Christian Borntraeger
2012-07-13 10:52 ` [Qemu-devel] [PATCH 2/6] s390: sclp base support Christian Borntraeger
2012-07-13 15:08 ` Blue Swirl
2012-07-13 16:44 ` Christian Borntraeger [this message]
2012-07-14 8:48 ` Blue Swirl
2012-07-16 7:04 ` Christian Borntraeger
2012-07-20 14:06 ` Andreas Färber
2012-07-23 11:05 ` Christian Borntraeger
2012-07-13 10:52 ` [Qemu-devel] [PATCH 3/6] s390: sclp event support Christian Borntraeger
2012-07-13 15:10 ` Blue Swirl
2012-07-13 10:52 ` [Qemu-devel] [PATCH 4/6] s390: sclp signal quiesce support Christian Borntraeger
2012-07-13 10:52 ` [Qemu-devel] [PATCH 5/6] s390: sclp ascii console support Christian Borntraeger
2012-07-13 10:52 ` [Qemu-devel] [PATCH 6/6] s390: make sclp ascii console the default Christian Borntraeger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50005058.6000707@de.ibm.com \
--to=borntraeger@de.ibm.com \
--cc=agraf@suse.de \
--cc=blauwirbel@gmail.com \
--cc=cornelia.huck@de.ibm.com \
--cc=graalfs@linux.vnet.ibm.com \
--cc=jfrei@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).