All of lore.kernel.org
 help / color / mirror / Atom feed
From: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
To: "Orzel, Michal" <michal.orzel@amd.com>
Cc: Julien Grall <julien@xen.org>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Bertrand Marquis <bertrand.marquis@arm.com>,
	Rahul Singh <rahul.singh@arm.com>
Subject: Re: [PATCH 3/3] xen/arm: vpci: Move content of xen/arch/arm/vpci.h to arch header
Date: Thu, 2 Apr 2026 15:58:13 +0000	[thread overview]
Message-ID: <87se9dtkvf.fsf@epam.com> (raw)
In-Reply-To: <bc80e004-25a5-449f-b4dc-a6afb8dc54c7@amd.com> (Michal Orzel's message of "Thu, 2 Apr 2026 08:32:19 +0200")

Hi Michal,

"Orzel, Michal" <michal.orzel@amd.com> writes:

> +Rahul
>
> On 02/04/2026 04:44, Julien Grall wrote:
>> Hi Michal,
>> 
>> On 01/04/2026 15:58, Michal Orzel wrote:
>>> Move domain_vpci_init() and domain_vpci_get_num_mmio_handlers()
>>> declarations from the private xen/arch/arm/vpci.h into the public
>>> xen/arch/arm/include/asm/vpci.h, and remove the now redundant
>>> private header.
>> 
>> Can you provide a brief explanation why we don't couldn't include 
>> "vpci.h" from "arch/arm/vpci.c"? Such approach would ...
> Yes, we could but I think it's better not to use local headers if the main ones
> under include already exists. This matches the x86.
>
>> 
>>>
>>> Update domain.c to include <asm/vpci.h> instead of the removed private
>>> header.
>>>
>>> This ensures the declarations are visible where the functions are
>>> defined, resolving a MISRA C Rule 8.4 violation.
>>>
>>> Signed-off-by: Michal Orzel <michal.orzel@amd.com>
>>> ---
>>> I'm moving a file with GPL2+ license to a file with GPL2-only. I consider this
>>> ok in this case becase the copyright on a file with just prototypes does not
>>> make any sense and a license text was most likely blindly copy-pasted like for
>>> most of the files in that era.
>> 
>> ... avoid the licensing discussion. I am in the opinion that it is ok to 
>> move from GPLv2+ to GPLv2 because the license says "either version 2 of 
>> the License, or (at your option) any later version". But I remember not 
>> everyone agrees on this interpretation and we never solved the 
>> discussion on whether we need to request permission from the original 
>> copyright holder.
>> 
>> Alternatively, I see this file was only modified by two companies (EPAM 
>> and Arm). I see one employee of each company are already CCed. So you 
>> could confirm with them if the change is fine.
> The header was introduced by Rahul Singh from Arm and Oleksandr Andruschenko
> from EPAM. @Rahul, @Bertrand, @Volodymyr - are you ok to move this file to
> GPL2-only?

Yes, I'm okay with that:

Acked-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>

-- 
WBR, Volodymyr

  reply	other threads:[~2026-04-02 15:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-01 14:58 [PATCH 0/3] Misc MISRA fixes from Arm allcode report Michal Orzel
2026-04-01 14:58 ` [PATCH 1/3] xen/arm: acpi: Rename local acpi_size to avoid shadowing typedef Michal Orzel
2026-04-02  2:30   ` Julien Grall
2026-04-01 14:58 ` [PATCH 2/3] xen/arm: pci: Narrow scope of file-local symbols Michal Orzel
2026-04-02  2:32   ` Julien Grall
2026-04-01 14:58 ` [PATCH 3/3] xen/arm: vpci: Move content of xen/arch/arm/vpci.h to arch header Michal Orzel
2026-04-02  2:44   ` Julien Grall
2026-04-02  6:32     ` Orzel, Michal
2026-04-02 15:58       ` Volodymyr Babchuk [this message]
2026-04-02 13:52   ` Luca Fancellu

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=87se9dtkvf.fsf@epam.com \
    --to=volodymyr_babchuk@epam.com \
    --cc=bertrand.marquis@arm.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=rahul.singh@arm.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.