All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
To: Jan Beulich <jbeulich@suse.com>, Alejandro Vallejo <agarciav@amd.com>
Cc: "Stefano Stabellini" <sstabellini@kernel.org>,
	"Julien Grall" <julien@xen.org>,
	"Bertrand Marquis" <bertrand.marquis@arm.com>,
	"Michal Orzel" <michal.orzel@amd.com>,
	"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Anthony PERARD" <anthony.perard@vates.tech>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH v5 02/10] xen: Refactor kernel_info to have a header like boot_domain
Date: Thu, 3 Jul 2025 11:57:19 +0200	[thread overview]
Message-ID: <DB2BX4539JEN.3EBOW5J8FDKQ5@amd.com> (raw)
In-Reply-To: <d9601a06-4118-4c1a-9784-51fe514d0697@suse.com>

On Thu Jul 3, 2025 at 8:01 AM CEST, Jan Beulich wrote:
> On 02.07.2025 18:04, Alejandro Vallejo wrote:
>> On Wed Jul 2, 2025 at 2:56 PM CEST, Jan Beulich wrote:
>>> On 01.07.2025 12:56, Alejandro Vallejo wrote:
>>>> --- a/xen/include/xen/fdt-kernel.h
>>>> +++ b/xen/include/xen/fdt-kernel.h
>>>> @@ -16,7 +16,7 @@
>>>>  #endif
>>>>  
>>>>  struct kernel_info {
>>>> -    struct domain *d;
>>>> +    struct boot_domain hdr;
>>>>  
>>>>      void *fdt; /* flat device tree */
>>>>      paddr_t unassigned_mem; /* RAM not (yet) assigned to a bank */
>>>> @@ -34,8 +34,7 @@ struct kernel_info {
>>>>      paddr_t gnttab_size;
>>>>  
>>>>      /* boot blob load addresses */
>>>> -    const struct boot_module *kernel, *initrd, *dtb;
>>>
>>> Where did this "const" go?
>> 
>> x86 mutates the boot module to set the released flag, the headroom, etc.
>
> Might be nice to mention such an aspect in the description.
>
> Jan

Sure.

Cheers,
Alejandro


  reply	other threads:[~2025-07-03  9:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-01 10:56 [PATCH v5 00/10] Allow x86 to unflatten DTs Alejandro Vallejo
2025-07-01 10:56 ` [PATCH v5 01/10] x86: Replace arch-specific boot_module with common one Alejandro Vallejo
2025-07-02 12:43   ` Jan Beulich
2025-07-02 15:02     ` Alejandro Vallejo
2025-07-01 10:56 ` [PATCH v5 02/10] xen: Refactor kernel_info to have a header like boot_domain Alejandro Vallejo
2025-07-02 12:56   ` Jan Beulich
2025-07-02 16:04     ` Alejandro Vallejo
2025-07-03  6:01       ` Jan Beulich
2025-07-03  9:57         ` Alejandro Vallejo [this message]
2025-07-01 10:56 ` [PATCH v5 03/10] x86: Replace arch-specific boot_domain with the common one Alejandro Vallejo
2025-07-02 13:15   ` Jan Beulich
2025-07-02 15:04     ` Alejandro Vallejo
2025-07-02 15:09     ` Alejandro Vallejo
2025-07-02 15:15       ` Jan Beulich
2025-07-02 15:34         ` Alejandro Vallejo
2025-07-03  6:04           ` Jan Beulich
2025-07-07 14:49             ` Alejandro Vallejo
2025-07-01 10:56 ` [PATCH v5 04/10] xen/dt: Move bootfdt functions to xen/bootfdt.h Alejandro Vallejo
2025-07-01 10:56 ` [PATCH v5 05/10] xen/dt: Move bootinfo functions to a new bootinfo.h Alejandro Vallejo
2025-07-01 10:57 ` [PATCH v5 06/10] xen/dt: Rename bootfdt.c -> bootinfo-fdt.c Alejandro Vallejo
2025-07-01 10:57 ` [PATCH v5 07/10] xen/dt: Extract helper to map nodes to module kinds Alejandro Vallejo
2025-07-01 10:57 ` [PATCH v5 08/10] xen: Split HAS_DEVICE_TREE in two Alejandro Vallejo
2025-07-02 13:30   ` Jan Beulich
2025-07-02 15:28     ` Alejandro Vallejo
2025-07-03  5:55       ` Jan Beulich
2025-07-03 10:04         ` Alejandro Vallejo
2025-07-01 10:57 ` [PATCH v5 09/10] xen/dt: ifdef out DEV_DT-related bits from device_tree.{c,h} Alejandro Vallejo
2025-07-01 10:57 ` [PATCH v5 10/10] xen/dt: Allow CONFIG_DEVICE_TREE_PARSE to include device-tree/ Alejandro Vallejo

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=DB2BX4539JEN.3EBOW5J8FDKQ5@amd.com \
    --to=alejandro.garciavallejo@amd.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=agarciav@amd.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=bertrand.marquis@arm.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.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.