[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 06/44] x86/boot: convert consider_modules to struct boot_module


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 9 Oct 2024 21:02:57 -0400
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1728522180; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=yVhC6M2mU4XEU3wMpIHe172mth4+/epzj7mRr1heY9w=; b=hxdinGa4TgRYpbgrhWjD9BRHRqx5JiQwetPC27leLOpDFIJKM/2FqjnClp4xzTGgi8UEdPMnUGV4qieSkuKnB/AUfOD3ZsFmU6gGaahu68OZuug4WwJ97QlrwFV6vjlZRtZEwBm6Dod3YR/Rk/xbnr0cAtWTCPrf+jNOd0CKzJ0=
  • Arc-seal: i=1; a=rsa-sha256; t=1728522180; cv=none; d=zohomail.com; s=zohoarc; b=OoRI3Q5y1SpBmRcPUNkJrkoC3wmFAkSCwUkCwY9QhF6sIEh6QZU2oXDFNk16lRAM0IdL2zmHAHGywp7/Z7y6SNRXApTAoxfrbzfCnNh04fZVTLtpZ5XjhEIJs5aixOUjnNdVepSCnF97eQD5TxhqqV9mxWpnUXf89n/1tz174U0=
  • Cc: jason.andryuk@xxxxxxx, christopher.w.clark@xxxxxxxxx, stefano.stabellini@xxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 10 Oct 2024 01:03:10 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 10/9/24 11:22, Jan Beulich wrote:
On 06.10.2024 23:49, Daniel P. Smith wrote:
@@ -639,20 +639,20 @@ static uint64_t __init consider_modules(
for ( i = 0; i < nr_mods ; ++i )
      {
-        uint64_t start = (uint64_t)mod[i].mod_start << PAGE_SHIFT;
-        uint64_t end = start + PAGE_ALIGN(mod[i].mod_end);
+        uint64_t start = (uint64_t)pfn_to_paddr(mods[i].mod->mod_start);

With the switch to pfn_to_paddr() the cast isn't needed anymore.

Ack.

v/r,
dps



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.