From nobody Mon May 6 02:19:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1621948894; cv=none; d=zohomail.com; s=zohoarc; b=b5FpbtUgAzpaXZJrYVoh55LAkN0n9OMvojyjO/KtY581bLc9cRzWYDMKmtm61DIsAd8NfaoaKgggzpN1snq4ImRDugPF3NXK4mWvdOoLFKObBpCMLMN2JWHpYw+lNc1JfUJYwg8Y8X0my3vcGFjsopQ54oow81JaKmNFbDei3pI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621948894; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=mTZsaQ6C2TIwnAVIj9W9dEgmWFYDSOJvMmZR7SKqcSQ=; b=YBZjhXZZvhLdlgTm4I8GaXQVuZrF8NfZCyTkEVMMwyLyES7FY9KjcmE5JoiUwEmaZcH7Loo10J91dcw2H8P43QbtWrCLczPUNAF3yuCj7F+t4I36abJ+jXnQgHcpPXSeSRWji9fgPXcX3j1+UUml/xj+7T+610+/NaBxQztGA8s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1621948894772592.2840404969652; Tue, 25 May 2021 06:21:34 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.132180.246642 (Exim 4.92) (envelope-from ) id 1llWzY-00052Q-Cg; Tue, 25 May 2021 13:21:04 +0000 Received: by outflank-mailman (output) from mailman id 132180.246642; Tue, 25 May 2021 13:21:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1llWzY-00052J-9d; Tue, 25 May 2021 13:21:04 +0000 Received: by outflank-mailman (input) for mailman id 132180; Tue, 25 May 2021 13:21:02 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1llWzW-00052D-He for xen-devel@lists.xenproject.org; Tue, 25 May 2021 13:21:02 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 3efb7e8f-341f-4b0a-bce6-8cc4c7e328fb; Tue, 25 May 2021 13:21:01 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 2A62CAB71; Tue, 25 May 2021 13:21:00 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version 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" X-Inumbo-ID: 3efb7e8f-341f-4b0a-bce6-8cc4c7e328fb X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621948860; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mTZsaQ6C2TIwnAVIj9W9dEgmWFYDSOJvMmZR7SKqcSQ=; b=X8OIhweXdkA0mBSmMtcIlcc37hvmprxjUCxpK7lWkgOP71VB72nSmai362Smrfj6H4Vjvs mHFl0d9aTuaQ+HV3Y91VDlq9K1hAFLT6u/ijn/BHImzQTV2B0kQbCi18KfsPs/IZa2VEfE zI9qBZKVd/AIHF6ZvZwcEA23Cq1qVU8= To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= From: Jan Beulich Subject: [PATCH] x86/guest: fix build when HVM and !PV32 Message-ID: Date: Tue, 25 May 2021 15:20:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Content-Type: text/plain; charset="utf-8" The commit referenced below still wasn't careful enough - with COMPAT we will have a compat_handle_okay() visible already, which we first need to get rid of. Fixes: bd1e7b47bac0 ("x86/shim: fix build when !PV32") Signed-off-by: Jan Beulich Acked-by: Roger Pau Monn=C3=A9 --- a/xen/arch/x86/pv/shim.c +++ b/xen/arch/x86/pv/shim.c @@ -679,6 +679,7 @@ void pv_shim_inject_evtchn(unsigned int # include #else # define compat_gnttab_setup_table gnttab_setup_table +# undef compat_handle_okay # define compat_handle_okay guest_handle_okay #endif =20