All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>
Cc: Drew <drjones@redhat.com>, "Stefan Hajnoczi" <stefanha@gmail.com>,
	"Gabriel L. Somlo" <somlo@cmu.edu>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Kevin O'Connor" <kevin@koconnor.net>,
	"Marc Marí" <markmb@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 1/5] fw_cfg: document fw_cfg_modify_iXX() update functions
Date: Wed, 2 Sep 2015 11:21:37 +0200	[thread overview]
Message-ID: <55E6BFA1.8020402@redhat.com> (raw)
In-Reply-To: <1441181329.10161.8.camel@redhat.com>

On 09/02/15 10:08, Gerd Hoffmann wrote:
> On Di, 2015-09-01 at 21:10 +0100, Peter Maydell wrote:
>> On 1 September 2015 at 20:13, Gabriel L. Somlo <somlo@cmu.edu> wrote:
>>> Also, since I'll be tinkering with fw_cfg again, and you mentioned
>>> using DT on arm and ACPI on x86 to auto-detect the presence (and location)
>>> of fw_cfg from the guest-side in a related thread:
>>
>> I meant DT or ACPI on ARM, actually. I don't know what the x86
>> approach is for fw_cfg but I think it's just "known address".
> 
> Yes, "known address".  And given that the firmware actually loads the
> acpi tables via fw_cfg that is very unlikely to change.  Adding it to
> the acpi tables might be useful nevertheless so the guest os knows the
> ioports are in use.
> 
> I think on arm the acpi situation is the same, but I think firmware
> detecting the location via DT should work without chicken&egg problems.

First of all I apologize for lagging severely behind this thread; in
practice I can't read emails longer than 20 lines or so. This one
qualifies, so I'll respond:

Yes, on qemu-system-(arm|aarch64) -M virt, detecting the fw_cfg
registers via DT should continue to work without any dependencies.

Thanks
Laszlo

  reply	other threads:[~2015-09-02  9:21 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-31  9:08 QEMU fw_cfg DMA interface Marc Marí
2015-08-31  9:08 ` [Qemu-devel] " Marc Marí
2015-08-31  9:08 ` Marc Marí
2015-08-31  9:10 ` [Qemu-devel] [PATCH v2 0/5] " Marc Marí
2015-08-31  9:10   ` [Qemu-devel] [PATCH v2 1/5] fw_cfg: document fw_cfg_modify_iXX() update functions Marc Marí
2015-09-01 17:33     ` Peter Maydell
2015-09-01 17:45       ` Gabriel L. Somlo
2015-09-01 18:45         ` Peter Maydell
2015-09-01 19:13           ` Gabriel L. Somlo
2015-09-01 20:10             ` Peter Maydell
2015-09-01 20:27               ` Gabriel L. Somlo
2015-09-01 20:30                 ` Peter Maydell
2015-09-02  8:08               ` Gerd Hoffmann
2015-09-02  9:21                 ` Laszlo Ersek [this message]
2015-08-31  9:10   ` [Qemu-devel] [PATCH v2 2/5] fw_cfg DMA interface documentation Marc Marí
2015-08-31 15:36     ` Kevin O'Connor
2015-09-01 17:47     ` Peter Maydell
2015-09-01 17:56       ` Peter Maydell
2015-08-31  9:10   ` [Qemu-devel] [PATCH v2 3/5] Implement fw_cfg DMA interface Marc Marí
2015-08-31 15:58     ` Kevin O'Connor
2015-09-01 18:35     ` Peter Maydell
2015-08-31  9:10   ` [Qemu-devel] [PATCH v2 4/5] Enable fw_cfg DMA interface for ARM Marc Marí
2015-09-01 18:02     ` Peter Maydell
2015-08-31  9:10   ` [Qemu-devel] [PATCH v2 5/5] Enable fw_cfg DMA interface for x86 Marc Marí
     [not found] ` <1441012133-8154-1-git-send-email-markmb-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-31  9:11   ` [PATCH v2] QEMU fw_cfg DMA interface documentation Marc Marí
2015-08-31  9:11     ` Marc Marí
2015-09-02  8:20     ` Stefan Hajnoczi
     [not found]       ` <CAJSP0QXgiMo0ahzRQ=2iMXVmiO+R27Re17c966LX1T_Q=Rdgow-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-02  8:33         ` Marc Marí
2015-09-02  8:33           ` Marc Marí
2015-09-07 11:08           ` Gerd Hoffmann
     [not found]             ` <1441624109.27149.18.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-07 11:25               ` Laszlo Ersek
2015-09-07 11:25                 ` Laszlo Ersek
2015-09-08 16:46             ` Kevin O'Connor
2015-09-10 14:21               ` Marc Marí

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=55E6BFA1.8020402@redhat.com \
    --to=lersek@redhat.com \
    --cc=drjones@redhat.com \
    --cc=kevin@koconnor.net \
    --cc=kraxel@redhat.com \
    --cc=markmb@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=somlo@cmu.edu \
    --cc=stefanha@gmail.com \
    /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.