Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4DE3FC48260 for ; Tue, 13 Feb 2024 17:44:46 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.680114.1057988 (Exim 4.92) (envelope-from ) id 1rZwph-0008M3-V0; Tue, 13 Feb 2024 17:44:37 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 680114.1057988; Tue, 13 Feb 2024 17:44:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rZwph-0008Lw-RG; Tue, 13 Feb 2024 17:44:37 +0000 Received: by outflank-mailman (input) for mailman id 680114; Tue, 13 Feb 2024 17:44:36 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rZwpg-0008Ll-7h for xen-devel@lists.xenproject.org; Tue, 13 Feb 2024 17:44:36 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rZwpf-0004cW-IF; Tue, 13 Feb 2024 17:44:35 +0000 Received: from [15.248.2.25] (helo=[10.24.67.29]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1rZwpf-0001dn-CH; Tue, 13 Feb 2024 17:44:35 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: References:Cc:To:From:Subject:MIME-Version:Date:Message-ID; bh=cdiRVi64bQsKB3cUU5Cr8wNIj2g723MEfU6OziPU80o=; b=wUtZdsgXsYU0bEefUNNKy8Koaq p+EBtxsJcmfYU2Vf/qM7xmeRqgEuz0wwtaN4ofP3IgWNSbTks1yMgeHJebQn16AyGQ77FN8O1MV+2 arZ9/Mc5ynPVZJMX4xcJN9xi2dMXccKZfoyK/oqCHuCwAKuQtmqywla18LxKKDSwgmhg=; Message-ID: <4cc1eb90-e3ef-4225-aa98-441c11c3fc8a@xen.org> Date: Tue, 13 Feb 2024 17:44:33 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 3/7] xen/asm-generic: introduce stub header monitor.h Content-Language: en-GB From: Julien Grall To: Oleksii Kurochko , xen-devel@lists.xenproject.org Cc: Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu , Stefano Stabellini , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , Shawn Anastasio , Jan Beulich References: <84568b0c24a5ec96244f3f34537e9a148367facf.1707499278.git.oleksii.kurochko@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, On 13/02/2024 17:40, Julien Grall wrote: > Hi Oleksii, > > On 09/02/2024 18:00, Oleksii Kurochko wrote: >> The header is shared between several archs so it is >> moved to asm-generic. >> >> Switch partly Arm and PPC to asm-generic/monitor.h and only >> arch_monitor_get_capabilities() left in arch-specific/monitor.h. >> >> Signed-off-by: Oleksii Kurochko >> Acked-by: Jan Beulich >> Acked-by: Tamas K Lengyel >> --- >> Changes in V8: >>   - Add Acked-by: Tamas K Lengyel >> --- >> Changes in V7: >>   - Drop definition of arch_monitor_domctl_event for PPC. >>   - define arch_monitor_domctl_event in asm-generic/monitor.h. >>   - add "define HAS_ARCH_MONITOR_DOMCTL_EVENT" in arm/.../monitor.h as >> it has arch specific implementation. >> --- >> Changes in V6: >>   - Rebase only. >> --- >> Changes in V5: >>    - Switched partly Arm and PPC to asm-generic monitor.h only >>      arch_monitor_get_capabilities() left in arch-specific/monitor.h. >>    - Updated the commit message. >> --- >> Changes in V4: >>   - Removed the double blank line. >>   - Added Acked-by: Jan Beulich . >>   - Update the commit message >> --- >> Changes in V3: >>   - Use forward-declaration of struct domain instead of " #include >> ". >>   - Add ' include ' >>   - Drop PPC's monitor.h. >> --- >> Changes in V2: >>     - remove inclusion of "+#include " >>     - add "struct xen_domctl_monitor_op;" >>     - remove one of SPDX tags. >> --- >>   xen/arch/arm/include/asm/monitor.h | 25 +----------- >>   xen/arch/ppc/include/asm/monitor.h | 28 +------------ > > Looking at MAINTAINERS, monitor.h was covered by "VM EVENT, MEM ACCESS > and MONITOR". As you move to ... > >>   xen/arch/ppc/stubs.c               |  8 ---- >>   xen/include/asm-generic/monitor.h  | 64 ++++++++++++++++++++++++++++++ > > ... asm-generic/, I believe it will now fall under "THE REST". So I > think MAINTAINERS needs to be updated to also cover asm-generic/monitor.h. > > Looking at what was already committed, I think asm-generic/vm_event.h > should also be added in MAINTAINERS. Can you send a separate patch for > that? Oh, I just noticed that we have the following entry: xen/include/*/monitor.h So the header is already covered. Sorry for the noise. As the code is falling under the "VM EVENT..." subsystem, then Tamas's acked is technically sufficient for this patch (even for the PPC change). But just in case you need one for Arm: Acked-by: Julien Grall Cheers, -- Julien Grall