All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Hervé Poussineau" <hpoussin@reactos.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] rtc: initialize irq even if caller doesn't use rtc_init() function
Date: Mon, 23 Jan 2012 13:06:20 +0100	[thread overview]
Message-ID: <4F1D4D3C.8010708@siemens.com> (raw)
In-Reply-To: <4F1D4BEB.3040904@reactos.org>

On 2012-01-23 13:00, Hervé Poussineau wrote:
> Jan Kiszka a écrit :
>> On 2012-01-23 10:18, Hervé Poussineau wrote:
>>> rtc instanciated with -device has now a working irq line
>>
>> That makes no sense. The mc146818rtc is no_user - for a reason.
>>
>> What is the use case you are trying to address?
>>
> 
> I wanted to be able to instanciate it with isa_create_simple(isa_bus, 
> "mc146818rtc") in machine init code.

Why?

> I don't see any good reason why a rtc created this way can't work.

You will still need to set the base year then, manually. And your
machine has no legacy RTC replacement logic like the PC?

I just don't get the benefit.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

      reply	other threads:[~2012-01-23 12:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23  9:18 [Qemu-devel] [PATCH] rtc: initialize irq even if caller doesn't use rtc_init() function Hervé Poussineau
2012-01-23 11:20 ` Jan Kiszka
2012-01-23 12:00   ` Hervé Poussineau
2012-01-23 12:06     ` Jan Kiszka [this message]

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=4F1D4D3C.8010708@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=aliguori@us.ibm.com \
    --cc=hpoussin@reactos.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.