From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 355A8C43334 for ; Wed, 29 Jun 2022 08:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+d0fptYBzBnMDxh1a3cAJ4e8v/MNMkC4LonhsDNJOPA=; b=lp2jn4RPqYDgeZ doPYisri57xzm6WSfATfbcdkDuQGCtr670BbA46W6c4t43EVIRKS1rOt01CW2CI2acSjgNeBmGh4M wtwMYdHdTDXbsNCqUnLyVeJ9P5iWWtxeTR9tStVD+pq3G6mxZc5uKAJbxbQoTn/dQhxaMS2T2cbIy 8eQ19L7OMGKgUxWPXpa8/e62TSoIYHIpa8Vifj1e5f75F/cBLVZSIh6oekmA+4fzTjp72JlwtfeZ1 TrnwmqrCyc5+HIPJnULEKL+MJZ4WIY8XwnaMWqcVwmwBwmSmG4w60nMASlj0fkLmldD6MVVLsmDSt JswvPRQrS7/YV6Ctk70A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6TW2-00AX2v-JI; Wed, 29 Jun 2022 08:57:42 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6TVy-00AWzL-Cs for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2022 08:57:40 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F1A891477; Wed, 29 Jun 2022 01:57:31 -0700 (PDT) Received: from bogus (unknown [10.57.39.193]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C0CF63F792; Wed, 29 Jun 2022 01:57:30 -0700 (PDT) Date: Wed, 29 Jun 2022 09:56:19 +0100 From: Sudeep Holla To: Ard Biesheuvel Cc: Linux ARM , linux-efi , Sudeep Holla , Russell King Subject: Re: [PATCH] ARM: efi: Simplify arch_efi_call_virt() macro by using typeof() Message-ID: <20220629085619.jqujeyvsffxi6i6p@bogus> References: <20220628125938.694256-1-sudeep.holla@arm.com> <20220628134738.xqj6gu5ngbsuql2f@bogus> <20220628140929.do5e5ic77twmed5e@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220629_015738_519691_131AD0D9 X-CRM114-Status: GOOD ( 19.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 28, 2022 at 07:58:38PM +0200, Ard Biesheuvel wrote: > On Tue, 28 Jun 2022 at 16:09, Sudeep Holla wrote: > > > > On Tue, Jun 28, 2022 at 03:57:38PM +0200, Ard Biesheuvel wrote: > > > On Tue, 28 Jun 2022 at 15:47, Sudeep Holla wrote: > > > > > ... > > > > > I am yet to figure out how asm/efi.h and linux/efi.h are included so that > > > > we can have generic definition in linux/efi.h and x86 can undefine that > > > > and redefine its own version. > > > > > > > > Does that make sense ? > > > > > > > > > > I appreciate the effort, but for now, let's just fix the ones we need > > > to fix (and the ARM one too while we're at it). PRM can only be > > > enabled on x86 and arm64 anyway. > > > > True. OK then I will just update ARM version and leave loongarch as is. > > > > Actually, this was rather straight-forward so I folded this change > into your ARM patch. I see you have the generic version for all archs except arm64 and x86 as we discussed earlier. Since you have even included the arm64 changes, the PRMT enablement patches need to routed via your tree now as it depends on the change you have in your -next. Are you OK with that if Rafael agrees ? I can ask him on the other thread. No further changes are needed. Let me know. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel