From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id B0E03D80CB0 for ; Wed, 26 Jul 2023 08:45:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=y9j4ps1KDM8xUpdCuZ2Az3JRVyT8nv+kOs+iSARG5eo=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-Received:X-Received:X-Received:X-Gm-Message-State:X-Google-Smtp-Source:X-Received:MIME-Version:References:In-Reply-To:From:Date:X-Gmail-Original-Message-ID:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1690361133; v=1; b=nRUK+AS7OdmlCwSWUSAng8WgfnArz+ZuDMYm54JRb2PQJ5vWRqkk0VQYW5X8iWaJe9+9M8c7 YIipEJ8AiXwvspxI6dNPoB+ChBPEncW/SmLY7hpPE3/YILDj0z5UXQMFX07F29yL+rOL+HCUATS p23cuYCqseZiWwVbCPWmOe+c= X-Received: by 127.0.0.2 with SMTP id 9IdFYY7687511xcZ2bfnZ9Py; Wed, 26 Jul 2023 01:45:33 -0700 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.6872.1690361132431402219 for ; Wed, 26 Jul 2023 01:45:32 -0700 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C8C9E61866 for ; Wed, 26 Jul 2023 08:45:29 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37815C433C8 for ; Wed, 26 Jul 2023 08:45:29 +0000 (UTC) X-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4fdfefdf5abso3108993e87.1 for ; Wed, 26 Jul 2023 01:45:29 -0700 (PDT) X-Gm-Message-State: KvMTCgyuDRTGzUz3XZBL1HVWx7686176AA= X-Google-Smtp-Source: APBJJlFMyoXP5ajFyn1GCH630fcTKsY0+8jkZoYdlIGgILyrDC7pytXZv/kU1CmqSxLsijnxPvZtpfPGiZFY/yA27GY= X-Received: by 2002:a05:6512:6cc:b0:4f9:58ed:7bba with SMTP id u12-20020a05651206cc00b004f958ed7bbamr997807lff.16.1690361127279; Wed, 26 Jul 2023 01:45:27 -0700 (PDT) MIME-Version: 1.0 References: <20230724201523.852-1-kuqin12@gmail.com> In-Reply-To: <20230724201523.852-1-kuqin12@gmail.com> From: "Ard Biesheuvel" Date: Wed, 26 Jul 2023 10:45:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH v1 0/3] Add support for handling SGI and pending interrupts To: Kun Qin Cc: devel@edk2.groups.io, Leif Lindholm , Ard Biesheuvel , Sami Mujawar Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=nRUK+AS7; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.org (policy=none) On Mon, 24 Jul 2023 at 22:15, Kun Qin wrote: > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4466 > > This patch series introduce a few improvements related to interrupt > handling for ArmGic driver and library. > > 1. The current implementation of the `ArmGicSendSgiTo` is based on GIC v2 > and does not work on GIC v3 and on. > 2. The pending interrupt related primitives does not exist for end users. > > The change added the SGI support compatible with GIC v3 and v4. A few > pending interrupt related utility functions were also added. > > This change was tested on QEMU, FVP and proprietary hardware platforms. > > Pathc v1 branch: https://github.com/kuqin12/edk2/tree/improve_gic_v1 > > Cc: Leif Lindholm > Cc: Ard Biesheuvel > Cc: Sami Mujawar > > Kun Qin (3): > ArmPkg: ArmGic: Added support to send SGI to NS G1 EL1 > ArmPkg: ArmGicLib: Added GIC v3 and v4 support to ArmGicSendSgiTo > ArmPkg: ArmGic: Added functionalities to manipulate pending interrupts > Hello Kun, Could you please explain how this will be used by platforms? SGIs are only used by the MPcore SEC code, which is deprecated and shouldn't be used. And manipulating pending interrupts is another thing we should only support if there is a compelling use case. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107266): https://edk2.groups.io/g/devel/message/107266 Mute This Topic: https://groups.io/mt/100337221/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-